aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-18 10:36:43 +0200
committerMihai Moldovan <ionic@ionic.de>2023-09-18 18:58:41 +0200
commitd99c415c172c03d5b09b3a4b4ecae9d6a992bbb1 (patch)
tree493fac540b6b16f07a4f0ff9584f8a73f790e182
parentd49e3512f7047c09f0437de2988160e19ff3ee58 (diff)
downloadarctica-greeter-d99c415c172c03d5b09b3a4b4ecae9d6a992bbb1.tar.gz
arctica-greeter-d99c415c172c03d5b09b3a4b4ecae9d6a992bbb1.tar.bz2
arctica-greeter-d99c415c172c03d5b09b3a4b4ecae9d6a992bbb1.zip
src/background.vala: Produce debug output when current_background gets changed.
-rw-r--r--src/background.vala5
1 files changed, 5 insertions, 0 deletions
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 = "<system default bg image> ";
} else
{
_current_background = value;
}
+ pretty_value += _current_background;
+ debug ("Background change requested, changing to: %s", pretty_value);
reload ();
}
}