From 5f469a79488f4aea4068114d6e178dc5c6f276f4 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Thu, 30 Aug 2012 22:31:13 +0000 Subject: [PATCH] GTK3 fix. Fix pack_start and pack_end issues in quick backup dialog svn: r20299 --- src/gui/viewmanager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/viewmanager.py b/src/gui/viewmanager.py index 4648e0cf8..11339c55c 100644 --- a/src/gui/viewmanager.py +++ b/src/gui/viewmanager.py @@ -1495,7 +1495,7 @@ class ViewManager(CLIManager): path_entry = Gtk.Entry() text = config.get('paths.quick-backup-directory') path_entry.set_text(text) - hbox.pack_start(path_entry, True) + hbox.pack_start(path_entry, True, True, 0) file_entry = Gtk.Entry() button = Gtk.Button() button.connect("clicked", @@ -1523,7 +1523,7 @@ class ViewManager(CLIManager): "seconds": struct_time.tm_sec, "extension": "gpkg", }) - hbox.pack_end(file_entry, True) + hbox.pack_end(file_entry, True, True, 0) vbox.pack_start(hbox, False, True, 0) hbox = Gtk.HBox() bytes = 0 @@ -1548,8 +1548,8 @@ class ViewManager(CLIManager): mbytes, _("Megabyte|MB"))) exclude = Gtk.RadioButton(include, _("Exclude")) include.connect("toggled", lambda widget: self.media_toggle(widget, file_entry)) - hbox.pack_start(include, True) - hbox.pack_end(exclude, True) + hbox.pack_start(include, False, True, 0) + hbox.pack_end(exclude, False, True, 0) vbox.pack_start(hbox, False, True, 0) window.show_all() d = window.run()