Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0.1, 1.0.2, and 1.0.3

stable guess: truncate status bar text at 60 chars

Closes #1085

Changeset 1e3224ae8a15

Parent d40c058f3391

by Steve Borho

Changes to one file · Browse files at 1e3224ae8a15 Showing diff from parent d40c058f3391 Diff from another changeset...

 
271
272
273
274
 
 
 
 
275
276
277
 
271
272
273
 
274
275
276
277
278
279
280
@@ -271,7 +271,10 @@
  thread = thread2.Thread(target=self.search_thread, args=(q, tgts))   thread.start()   self.stbar.begin() - self.stbar.set_text(_('finding source of ') + ', '.join(tgts)) + text = _('finding source of ') + ', '.join(tgts) + if len(text) > 60: + text = text[:60]+'...' + self.stbar.set_text(text)   gobject.timeout_add(50, self.search_wait, thread, q)     def search_thread(self, q, tgts):