From d99c415c172c03d5b09b3a4b4ecae9d6a992bbb1 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 18 Sep 2023 10:36:43 +0200 Subject: src/background.vala: Produce debug output when current_background gets changed. --- src/background.vala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/background.vala b/src/background.vala index 9602837..75ed517 100644 --- a/src/background.vala +++ b/src/background.vala @@ -476,14 +476,19 @@ public class Background : Gtk.Fixed } set { + var pretty_value = ""; + if (value == null || value == "") { _current_background = system_background; + pretty_value = " "; } else { _current_background = value; } + pretty_value += _current_background; + debug ("Background change requested, changing to: %s", pretty_value); reload (); } } -- cgit v1.2.3