diff options
author | Guillaume Seguin <guillaume@segu.in> | 2007-12-17 13:10:02 +0100 |
---|---|---|
committer | Guillaume Seguin <guillaume@segu.in> | 2007-12-17 13:10:02 +0100 |
commit | e3bc3203c9662215660f305810bd0fd83f54299c (patch) | |
tree | 4fc08f2540463de4fc21bc1a6ec6c6fc319cedfa | |
parent | dbeb6c0bc719c87197fa6bf292834781d665de1f (diff) | |
download | tsp-e3bc3203c9662215660f305810bd0fd83f54299c.tar.gz tsp-e3bc3203c9662215660f305810bd0fd83f54299c.tar.bz2 |
* Minor cleanup
-rwxr-xr-x | tsp.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -457,6 +457,9 @@ class AlgoGui (gtk.Window): alignment.add (self.canvas) box.pack_start (alignment, False, False) hbox = gtk.HBox () + alignment = gtk.Alignment (0.5, 0.5, 0, 0) + alignment.add (hbox) + box.pack_start (alignment, False, False) # Init methods self.init_box = gtk.combo_box_new_text () map (self.init_box.append_text, INITS) @@ -491,10 +494,6 @@ class AlgoGui (gtk.Window): names_button.connect ("toggled", self.toggle_show_names) names_button.set_active (True) hbox.pack_start (names_button, False, False) - alignment = gtk.Alignment (0.5, 0.5, 0, 0) - alignment.add (hbox) - box.pack_start (alignment, False, False) - box.show_all () # Informative labels self.best_label = gtk.Label () self.update_best (length = None) |