From: Yves Marcoz Date: Tue, 8 Jun 2010 05:12:19 +0000 (-0700) Subject: Fixed config dialog size in portrait mode X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=ac6b1ff84143f44a516531ad78abfcdcda34c23f;p=feedingit Fixed config dialog size in portrait mode --- diff --git a/src/config.py b/src/config.py index 97fffd6..90fcdc3 100644 --- a/src/config.py +++ b/src/config.py @@ -55,6 +55,8 @@ class Config(): def createDialog(self): self.window = gtk.Dialog("Settings", self.parent) + self.window.set_geometry_hints(min_height=600) + save_button = self.window.add_button(gtk.STOCK_SAVE, gtk.RESPONSE_OK) save_button.connect('clicked', self.on_save_button_clicked) #self.window.set_default_size(-1, 600) @@ -117,7 +119,7 @@ class Config(): button.set_label('Cache images') button.set_active(self.config["imageCache"]) button.connect("toggled", self.button_toggled, "imageCache") - vbox.pack_start(button, expand=False) + vbox.pack_start(button, expand=False) button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT) button.set_label("Use HTTP proxy") @@ -127,7 +129,7 @@ class Config(): panArea.add_with_viewport(vbox) - self.window.vbox.add(panArea) + self.window.vbox.add(panArea) self.window.connect("destroy", self.onExit) #self.window.add(self.vbox) self.window.set_default_size(-1, 600)