6623: funny GUI report-language display

svn: r21994
This commit is contained in:
Benny Malengier 2013-04-15 09:15:34 +00:00
parent 1e1e57c576
commit 9503faed70

View File

@ -499,6 +499,8 @@ class GuiEnumeratedListOption(Gtk.HBox):
evtBox = Gtk.EventBox() evtBox = Gtk.EventBox()
self.__option = option self.__option = option
self.__combo = Gtk.ComboBoxText() self.__combo = Gtk.ComboBoxText()
self.__combo.set_popup_fixed_width(False)
self.__combo.set_wrap_width(3)
evtBox.add(self.__combo) evtBox.add(self.__combo)
self.pack_start(evtBox, True, True, 0) self.pack_start(evtBox, True, True, 0)
@ -542,7 +544,8 @@ class GuiEnumeratedListOption(Gtk.HBox):
""" """
Handle the change of the available options. 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() cur_val = self.__option.get_value()
active_index = 0 active_index = 0
current_index = 0 current_index = 0