Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-05-21 15:42:59 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-05-21 15:42:59 (GMT)
commit4e418778b90a454060afa7ca9ce2be6bb5c424a3 (patch)
treea1ff0a606cdc15551803f7b33ef33cba14ffcf60
parent0c313e6e4761181612ddae4aa55985f403ce7698 (diff)
Further disable inconentrysucrose-0.84
-rw-r--r--src/sugar/graphics/iconentry.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sugar/graphics/iconentry.py b/src/sugar/graphics/iconentry.py
index 5a0421e..f1b7474 100644
--- a/src/sugar/graphics/iconentry.py
+++ b/src/sugar/graphics/iconentry.py
@@ -60,10 +60,13 @@ class IconEntry(gtk.Entry): #_sugarext.IconEntry):
self.set_icon(position, image)
def set_icon(self, position, image):
+ """
if image.get_storage_type() not in [gtk.IMAGE_PIXBUF, gtk.IMAGE_STOCK]:
raise ValueError('Image must have a storage type of pixbuf or ' +
'stock, not %r.' % image.get_storage_type())
- #_sugarext.IconEntry.set_icon(self, position, image)
+ _sugarext.IconEntry.set_icon(self, position, image)
+ """
+ pass
def remove_icon(self, position):
#_sugarext.IconEntry.set_icon(self, position, None)
@@ -75,7 +78,7 @@ class IconEntry(gtk.Entry): #_sugarext.IconEntry):
else:
self.hide_clear_button()
- self.connect('icon-pressed', self._icon_pressed_cb)
+ #self.connect('icon-pressed', self._icon_pressed_cb)
self.connect('changed', self._changed_cb)
def show_clear_button(self):