From ca22e6af6ae5b19c15f4a717bed2b84e54615eba Mon Sep 17 00:00:00 2001 From: kriss Date: Sat, 15 Mar 2008 02:17:01 +0000 Subject: [PATCH] CLEANUP: Hi Patrick, nice project! You can use show_all there, keep going, it's great. :-) git-svn-id: http://www.neo1973-germany.de/svn@54 46df4e5c-bc4e-4628-a0fc-830ba316316d --- unitc/unit_converter.py | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/unitc/unit_converter.py b/unitc/unit_converter.py index 3a365a1..4687363 100644 --- a/unitc/unit_converter.py +++ b/unitc/unit_converter.py @@ -284,22 +284,7 @@ class unitconvert(object): self.clearbutton.connect('clicked', self.clear) # Display all elements - self.box.show() - self.catbox.show() - self.catcombo.show() - self.catframe.show() - self.fromentry.show() - self.fromcombo.show() - self.fromframe.show() - self.frombox.show() - self.toentry.show() - self.tocombo.show() - self.toframe.show() - self.tobox.show() - self.sendbox.show() - self.clearbutton.show() - self.gobutton.show() - self.window.show() + self.window.show_all() def main(): gtk.main()