From 1efe62d5df7796a2b9705d2904aabfa0ea4f5fd1 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Thu, 21 May 2020 22:28:58 +0200 Subject: [PATCH] added 'restart required' hint --- bin/mpdevil.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/mpdevil.py b/bin/mpdevil.py index 31ede30..d19a4ed 100644 --- a/bin/mpdevil.py +++ b/bin/mpdevil.py @@ -2223,8 +2223,14 @@ class GeneralSettings(Gtk.Box): icon_size_combo.connect("changed", self.on_icon_size_changed) #packing + restart_label=Gtk.Label(label=_("(restart required)")) + restart_label.set_xalign(0) + restart_label.set_sensitive(False) + box=Gtk.Box(spacing=12) + box.pack_start(check_buttons["use-csd"], False, False, 0) + box.pack_start(restart_label, False, False, 0) self.pack_start(view_heading, True, True, 0) - self.pack_start(check_buttons["use-csd"], True, True, 0) + self.pack_start(box, True, True, 0) self.pack_start(check_buttons["show-stop"], True, True, 0) self.pack_start(check_buttons["show-initials"], True, True, 0) self.pack_start(check_buttons["show-album-view-tooltips"], True, True, 0)