GTK3 fix. Fix pack_start and pack_end issues when starting place report

svn: r20388
This commit is contained in:
Gary Burton 2012-09-14 16:58:34 +00:00
parent ed6f1c5672
commit 0d9f926a43

View File

@ -1309,7 +1309,7 @@ class GuiPlaceListOption(Gtk.HBox):
Gtk.PolicyType.AUTOMATIC)
self.__scrolled_window.set_shadow_type(Gtk.ShadowType.OUT)
self.pack_start(self.__scrolled_window, expand=True, fill=True)
self.pack_start(self.__scrolled_window, True, True, 0)
self.__value_changed()
@ -1323,7 +1323,7 @@ class GuiPlaceListOption(Gtk.HBox):
self.__vbbox.add(self.__add_place)
self.__vbbox.add(self.__del_place)
self.__vbbox.set_layout(Gtk.ButtonBoxStyle.SPREAD)
self.pack_end(self.__vbbox, expand=False)
self.pack_end(self.__vbbox, False, False, 0)
self.valuekey = self.__option.connect('value-changed', self.__value_changed)