From 9503faed70c5b86bb993d82dcd2622ab67507918 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 15 Apr 2013 09:15:34 +0000 Subject: [PATCH] 6623: funny GUI report-language display svn: r21994 --- gramps/gui/plug/_guioptions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/gui/plug/_guioptions.py b/gramps/gui/plug/_guioptions.py index 0104e8928..b811576ac 100644 --- a/gramps/gui/plug/_guioptions.py +++ b/gramps/gui/plug/_guioptions.py @@ -499,6 +499,8 @@ class GuiEnumeratedListOption(Gtk.HBox): evtBox = Gtk.EventBox() self.__option = option self.__combo = Gtk.ComboBoxText() + self.__combo.set_popup_fixed_width(False) + self.__combo.set_wrap_width(3) evtBox.add(self.__combo) self.pack_start(evtBox, True, True, 0) @@ -542,7 +544,8 @@ class GuiEnumeratedListOption(Gtk.HBox): """ Handle the change of the available options. """ - self.__combo.get_model().clear() + self.__combo.remove_all() + #self.__combo.get_model().clear() cur_val = self.__option.get_value() active_index = 0 current_index = 0