aboutsummaryrefslogtreecommitdiff
path: root/src/user-list.vala
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2023-09-18 19:00:31 +0200
committerMihai Moldovan <ionic@ionic.de>2023-09-18 19:00:31 +0200
commit264b8a7cde8a728f154f72233e676dafeaac55cb (patch)
tree493fac540b6b16f07a4f0ff9584f8a73f790e182 /src/user-list.vala
parent233d577f4b25d77260925b827ff20ded73af7b61 (diff)
parentd99c415c172c03d5b09b3a4b4ecae9d6a992bbb1 (diff)
downloadarctica-greeter-264b8a7cde8a728f154f72233e676dafeaac55cb.tar.gz
arctica-greeter-264b8a7cde8a728f154f72233e676dafeaac55cb.tar.bz2
arctica-greeter-264b8a7cde8a728f154f72233e676dafeaac55cb.zip
Merge branch 'sunweaver-mr/highcontrast-background-color'
Attributes GH PR #71: https://github.com/ArcticaProject/arctica-greeter/pull/71
Diffstat (limited to 'src/user-list.vala')
-rw-r--r--src/user-list.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/user-list.vala b/src/user-list.vala
index e410b19..2c2fe3b 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -173,7 +173,10 @@ public class UserList : GreeterList
construct
{
var agsettings = new AGSettings ();
- agsettings.notify["high-contrast"].connect (() => { change_background (); });
+ agsettings.notify[AGSettings.KEY_HIGH_CONTRAST].connect (() => {
+ change_background ();
+ debug ("High contrast switched toggled, new switch state is %b; adjusting background.", AGSettings.get_boolean(AGSettings.KEY_HIGH_CONTRAST));
+ });
entry_displayed_start.connect (() => { change_background (); });
entry_displayed_done.connect (() => { change_background (); });