From: Eugene Gagarin Date: Thu, 7 May 2009 12:51:11 +0000 (+0400) Subject: Reduced paddings X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=63f437fa9711b9d08fb5a75fc92cc47e27f50995;p=findit Reduced paddings --- diff --git a/src/files/search.py b/src/files/search.py index c4c02b1..434dce9 100755 --- a/src/files/search.py +++ b/src/files/search.py @@ -146,7 +146,7 @@ class Gtk_Presentation(object): out_table_rbtn, out_diabar_rbtn, out_diapie_rbtn, out_diaold_rbtn ] - hbox = gtk.HBox(False, 4) + hbox = gtk.HBox(False, 2) hbox.pack_start(qty_label, False, False, 0) hbox.pack_start(self.qty_spin, False, False, 0) hbox.pack_start(self.start_btn, False, False, 0) @@ -160,7 +160,7 @@ class Gtk_Presentation(object): self.statusbar = gtk.Statusbar() self.context_id = self.statusbar.get_context_id('Current walked file') - self.vbox = gtk.VBox(False, 4) + self.vbox = gtk.VBox(False, 2) self.vbox.pack_start(self.path_entry, False, False, 0) self.vbox.pack_start(hbox, False, False, 0) self.vbox.pack_end(self.statusbar, False, False, 0) diff --git a/src/main.py b/src/main.py index a5e7fbf..392ddf6 100755 --- a/src/main.py +++ b/src/main.py @@ -145,7 +145,7 @@ class Gtk_Presentation(object): self.window = gtk.Window() self.window.set_default_size(600, 400) self.window.set_geometry_hints(None, 600, 400) - self.window.set_border_width(4) + self.window.set_border_width(2) self.window.set_wmclass('MainWindow', 'FindIT') self.window.connect('destroy', gtk.main_quit) @@ -171,7 +171,7 @@ class Gtk_Presentation(object): self.vbox.remove(self.vbox.get_children()[2]) except: pass - self.vbox.pack_start(search_toplevel, True, True, 4) + self.vbox.pack_start(search_toplevel, True, True, 2) search_toplevel.show_all() def run(self):