Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

history: move number of revisions in status bar to the right

Introducing "righ1_text" in gtklib.StatusBar for this.

Changeset 38d136e6378c

Parent d318db0de791

by Adrian Buehlmann

Changes to 2 files · Browse files at 38d136e6378c Showing diff from parent d318db0de791 Diff from another changeset...

 
88
89
90
 
 
91
92
93
 
113
114
115
 
 
 
116
117
118
 
88
89
90
91
92
93
94
95
 
115
116
117
118
119
120
121
122
123
@@ -88,6 +88,8 @@
  self.pack_start(self.sttext, padding=4)   if extra:   self.pack_end(extra, False, False) + self.right1_label = gtk.Label() + self.pack_end(self.right1_label, False, False, padding=20)   self.pack_end(self.pbox, False, False, padding=1)   self.pbox.set_child_visible(False)   self.show_all() @@ -113,6 +115,9 @@
  def set_status_text(self, msg):   self.sttext.set_text(str(msg))   + def set_right1_text(self, msg): + self.right1_label.set_text(str(msg)) +   def set_pulse_step(self, val):   self.pbar.set_pulse_step(val)  
 
253
254
255
256
 
257
258
259
 
260
261
262
 
253
254
255
 
256
257
258
 
259
260
261
262
@@ -253,10 +253,10 @@
  self.set_revision_id(revid)   if self.pbar is not None:   self.pbar.end() - revision_text = _('Displaying %(count)d of %(total)d revisions') % { + revision_text = _('%(count)d of %(total)d Revisions') % {   'count': len(self.model),   'total': len(self.repo) } - self.pbar.set_status_text(revision_text) + self.pbar.set_right1_text(revision_text)   return False     def do_get_property(self, property):