[POS-commit] r8160 - kiwi/trunk/kiwi/ui

romaia at async.com.br romaia at async.com.br
Tue Jul 14 13:57:45 BRT 2009


Author: romaia
Date: Tue Jul 14 13:57:44 2009
New Revision: 8160

Log:
Temporary fix for bug 4026, until we figure out the real problem

Modified:
   kiwi/trunk/kiwi/ui/icon.py

Modified: kiwi/trunk/kiwi/ui/icon.py
==============================================================================
--- kiwi/trunk/kiwi/ui/icon.py	Tue Jul 14 11:30:12 2009	(r8159)
+++ kiwi/trunk/kiwi/ui/icon.py	Tue Jul 14 13:57:44 2009	(r8160)
@@ -242,7 +242,12 @@
             # FIXME: Why is this needed. Focus padding?
             #        The text jumps without this
             textw -= 2
-            self._text_area.move_resize(textx, texty, textw, texth)
+
+            # FIXME: This stoped working properly with pygtk 2.14.1. Only
+            # calling this for versions prior to that, until we figure the
+            # real problem. See bug 4026
+            if gtk.pygtk_version < (2, 14):
+                self._text_area.move_resize(textx, texty, textw, texth)
             self._recompute()
         elif self._pos == gtk.POS_RIGHT:
             self._text_area.resize(textw, texth)


More information about the POS-commit mailing list