diff options
author | Mihai Moldovan <ionic@ionic.de> | 2023-09-18 19:00:31 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2023-09-18 19:00:31 +0200 |
commit | 264b8a7cde8a728f154f72233e676dafeaac55cb (patch) | |
tree | 493fac540b6b16f07a4f0ff9584f8a73f790e182 /src/user-list.vala | |
parent | 233d577f4b25d77260925b827ff20ded73af7b61 (diff) | |
parent | d99c415c172c03d5b09b3a4b4ecae9d6a992bbb1 (diff) | |
download | arctica-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.vala | 5 |
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 (); }); |