summaryrefslogtreecommitdiff
path: root/geneticone/gui/main.py
diff options
context:
space:
mode:
authornecoro <>2006-09-08 18:03:35 +0000
committernecoro <>2006-09-08 18:03:35 +0000
commit58f256d7cc47821c5980cbf42af5f7f35aa78bf9 (patch)
tree88efc035ea14c4a3d1da3346461e257be650afc2 /geneticone/gui/main.py
parent5cbf29bf8800a33be61b90dd1bf49d780f680a70 (diff)
downloadportato-58f256d7cc47821c5980cbf42af5f7f35aa78bf9.tar.gz
portato-58f256d7cc47821c5980cbf42af5f7f35aa78bf9.tar.bz2
portato-58f256d7cc47821c5980cbf42af5f7f35aa78bf9.zip
Some structure changes
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]geneticone/gui/main.py (renamed from gui.py)6
1 files changed, 1 insertions, 5 deletions
diff --git a/gui.py b/geneticone/gui/main.py
index fcaccd3..9398b91 100755..100644
--- a/gui.py
+++ b/geneticone/gui/main.py
@@ -457,7 +457,7 @@ class MainWindow:
self.window.connect("delete_event", self.cb_delete)
self.window.connect("destroy", self.cb_destroy)
self.window.set_border_width(2)
- self.window.set_geometry_hints (self.window, min_width = 600, min_height = 700, max_height = gtk.gdk.screen_height(), max_width = gtk.gdk.screen_width())
+ self.window.set_geometry_hints (self.window, min_width = 600, min_height = 800, max_height = gtk.gdk.screen_height(), max_width = gtk.gdk.screen_width())
self.window.set_resizable(True)
# main vb
@@ -556,7 +556,3 @@ def blocked_dialog (blocked, blocks):
dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, blocked+" is blocked by "+blocks+".\nPlease unmerge the blocking package.")
dialog.run()
dialog.destroy()
-
-if __name__ == "__main__":
- m = MainWindow()
- m.main()