[conduit] Fixes window resizing in configuration



commit 5d15851eba792ab54bbb35978f44f0ace3056335
Author: Alexandre Rosenfeld <airmind gmail com>
Date:   Sun Sep 20 21:12:48 2009 -0300

    Fixes window resizing in configuration

 conduit/gtkui/WindowConfigurator.py |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/conduit/gtkui/WindowConfigurator.py b/conduit/gtkui/WindowConfigurator.py
index c67ddf8..50203cd 100644
--- a/conduit/gtkui/WindowConfigurator.py
+++ b/conduit/gtkui/WindowConfigurator.py
@@ -35,17 +35,12 @@ class WindowConfigurator:
                           gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
                           (gtk.STOCK_REVERT_TO_SAVED, gtk.RESPONSE_CANCEL,
                            gtk.STOCK_CLOSE, gtk.RESPONSE_OK))
-        #TODO: Unless we actually have a help to show, make the help button 
-        #disabled.
-        #BTW, modules should be able to define their own help
         self.dialog.set_has_separator(False)
-        #self.dialog.set_response_sensitive(gtk.RESPONSE_HELP, False)
         self.dialog.set_response_sensitive(gtk.RESPONSE_CANCEL, False)
         self.dialog.set_default_size(-1, -1)
-        #self.dialog.set_border_width(12)
         
         self.dialog_box = self.dialog.get_content_area()
-        align = gtk.Alignment()
+        align = gtk.Alignment(0.0, 0.0, 1.0, 1.0)
         align.set_padding(0, 8, 0, 0)
         align.add(self._make_config_widget())
         



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]