# HG changeset patch
# User Wagner Bruna <wbr...@softwareexpress.com.br>
# Date 1256333604 7200
# Branch stable
# Node ID 7e0749622b063aea482b77dadcf8a89b91d77582
# Parent  df03732bffa4dcb06833a6c98ca1b1147f47c865
history: replace custom filter label with tooltip

Saves some horizontal space that may be needed for translated labels.

diff --git a/tortoisehg/hgtk/history.py b/tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py
+++ b/tortoisehg/hgtk/history.py
@@ -1025,7 +1025,9 @@
         filterbox.append_widget(branchcombo, padding=0)
         self.branchcombo = branchcombo
 
-        self.custombutton = gtk.RadioButton(all, _('Custom'))
+        self.custombutton = gtk.RadioButton(all)
+        self.custombutton.set_property('tooltip-text', _('custom filter'))
+        self.custombutton.set_property('has-tooltip', True)
         self.custombutton.set_sensitive(False)
         filterbox.append_widget(self.custombutton, padding=0)
 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to