diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | src/msec/msecgui.py | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,6 @@ +- msecgui: fix broken config buttons after migration to gtk3 + (Philippe Makowski, mga#14777) + Version 1.7 - April 30 2015, RĂ©mi Verschelde - msecgui: Fix broken saving feature after migration to gtk3 diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 787a0ab..21496c1 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -1621,7 +1621,7 @@ class MsecGui: """Processes an option change""" iter = model.get_iter(path) param = model.get_value(iter, self.COLUMN_OPTION) - descr = model.get_value(iter, self.COLUMN_DESCR) + descr = model.get_value(iter, self.COLUMN_DESCR).decode("utf-8") value = model.get_value(iter, self.COLUMN_VALUE) # option is disabled? @@ -1659,11 +1659,11 @@ class MsecGui: label.set_line_wrap(True) label.set_use_markup(True) dialog.vbox.pack_start(label, True, True, 0) - dialog.vbox.pack_start(Gtk.HSeparator()) + dialog.vbox.pack_start(Gtk.HSeparator(), True, True, 0) # new value hbox = Gtk.HBox() - hbox.pack_start(Gtk.Label(_("New value:"), True, True, 0)) + hbox.pack_start(Gtk.Label(_("New value:")), True, True, 0) if '*' in params: # string parameter entry = Gtk.Entry() |