aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/msecgui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py
index 81dffac..787a0ab 100755
--- a/src/msec/msecgui.py
+++ b/src/msec/msecgui.py
@@ -394,13 +394,13 @@ class MsecGui:
break
# adding specific messages
- advanced = Gtk.Expander(_("Details"))
+ advanced = Gtk.Expander(label=_("Details"))
vbox_advanced = Gtk.VBox()
advanced.add(vbox_advanced)
vbox.pack_start(advanced, False, False, padding=DEFAULT_SPACING)
for cat in ['info', 'critical', 'error', 'warn', 'debug']:
msgs = messages[cat]
- expander = Gtk.Expander(_('MSEC messages (%s): %d') % (cat, len(msgs)))
+ expander = Gtk.Expander(label=_('MSEC messages (%s): %d') % (cat, len(msgs)))
textview = Gtk.TextView()
textview.set_wrap_mode(Gtk.WrapMode.WORD_CHAR)
textview.set_editable(False)
@@ -414,7 +414,7 @@ class MsecGui:
vbox_advanced.pack_start(expander, False, False, padding=DEFAULT_SPACING)
# hide all information in an expander
- expander = Gtk.Expander(_("Details (%d changes)..") % num_changes)
+ expander = Gtk.Expander(label=_("Details (%d changes)..") % num_changes)
expander.add(exp_vbox)
dialog.vbox.pack_start(expander, False, False, padding=DEFAULT_SPACING)