Hello,

(re-sending to the list, this time with the correct mail address)

Peer Sommerlund wrote:
> I just discovered that history.py uses property 'tooltip-text', which
> is not available with GTK+ 2.10
> 
> Introduced by cset 1037a39a6f41

Could you test the following patch?

Thanks,
Wagner

# HG changeset patch
# User Wagner Bruna <wbr...@softwareexpress.com.br>
# Date 1257260417 7200
# Branch stable
# Node ID 55a3034d6cd0538e65dd340352b925142ce269d4
# Parent  a7a84f9d75416b66245f1a0112c50b278978fa9d
history: set tooltips in a pygtk 2.10 compatible way

diff --git a/tortoisehg/hgtk/history.py b/tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py
+++ b/tortoisehg/hgtk/history.py
@@ -1037,8 +1037,7 @@

          branches = gtk.RadioButton(all)
          branches.connect('toggled', self.filter_selected, 'branch')
-        branches.set_property('tooltip-text', _('Branch Filter'))
-        branches.set_property('has-tooltip', True)
+        self.tooltips.set_tip(branches, _('Branch Filter'))
          branches.set_sensitive(False)
          filterbox.append_widget(branches, padding=0)
          self.branchbutton = branches
@@ -1054,8 +1053,7 @@
          self.branchcombo = branchcombo

          self.custombutton = gtk.RadioButton(all)
-        self.custombutton.set_property('tooltip-text', _('Custom Filter'))
-        self.custombutton.set_property('has-tooltip', True)
+        self.tooltips.set_tip(self.custombutton, _('Custom Filter'))
          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