diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-01 00:53:22 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-01 00:53:22 +0200 |
commit | 1b918b5c600ee94310fa2eacaf76d03d3df71876 (patch) | |
tree | 3c50802a76942651674835a7aa94e7d663bc827f /src | |
parent | 4158bee2297834873d0cde60eb7597ce4fdf2b91 (diff) | |
download | msec-1b918b5c600ee94310fa2eacaf76d03d3df71876.tar msec-1b918b5c600ee94310fa2eacaf76d03d3df71876.tar.gz msec-1b918b5c600ee94310fa2eacaf76d03d3df71876.tar.bz2 msec-1b918b5c600ee94310fa2eacaf76d03d3df71876.tar.xz msec-1b918b5c600ee94310fa2eacaf76d03d3df71876.zip |
fix broken config buttons after migration to gtk3
(Philippe Makowski, mga#14777)
Diffstat (limited to 'src')
-rwxr-xr-x | src/msec/msecgui.py | 6 |
1 files changed, 3 insertions, 3 deletions
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() |