diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2007-08-09 12:57:59 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2007-08-09 12:57:59 +0400 |
commit | 701bdb6b85085f71186ed2ee74c699cf5c1b60b1 (patch) | |
tree | 68c267491e8f9212ca3a0074df936a73539a1327 /src/profile_window.py | |
parent | 8e2cae777f5264e28cb223110bf6e4d8c0750ccb (diff) |
use set_no_show_all from glade when possible instead of code. fixes #2248
Diffstat (limited to 'src/profile_window.py')
-rw-r--r-- | src/profile_window.py | 4 |
1 files changed, 0 insertions, 4 deletions
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() |