From 701bdb6b85085f71186ed2ee74c699cf5c1b60b1 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 9 Aug 2007 08:57:59 +0000 Subject: use set_no_show_all from glade when possible instead of code. fixes #2248 --- src/profile_window.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/profile_window.py') diff --git a/src/profile_window.py b/src/profile_window.py index b56329aa4..94a4cde4f 100644 --- a/src/profile_window.py +++ b/src/profile_window.py @@ -77,10 +77,6 @@ class ProfileWindow: # Create Image for avatar button image = gtk.Image() self.xml.get_widget('PHOTO_button').set_image(image) - text_button = self.xml.get_widget('NOPHOTO_button') - # We use 2 buttons because some GTK theme don't show images in buttons - text_button.set_no_show_all(True) - text_button.hide() self.xml.signal_autoconnect(self) self.window.show_all() -- cgit v1.2.3