diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-19 15:11:07 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-19 22:57:57 +0200 |
commit | 127c52ae0e2005bdd90bf133a99234ab523a20b9 (patch) | |
tree | 65379fb875d65251099149c177bcc3790a58c1a3 /src | |
parent | d75bd38a4acd6eab8796b27e5ab2aa1ea5865695 (diff) | |
download | arctica-greeter-127c52ae0e2005bdd90bf133a99234ab523a20b9.tar.gz arctica-greeter-127c52ae0e2005bdd90bf133a99234ab523a20b9.tar.bz2 arctica-greeter-127c52ae0e2005bdd90bf133a99234ab523a20b9.zip |
src/arctica-greeter: Reduce \!do_test_mode checks by 1.
Diffstat (limited to 'src')
-rw-r--r-- | src/arctica-greeter.vala | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 189b246..02a3c37 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -1341,6 +1341,10 @@ public class ArcticaGreeter : Object } } + Pid atspi_pid = 0; + Pid nmapplet_pid = 0; + Pid geoclueagent_pid = 0; + var gsettings_mate_desktop_interface = new Settings ("org.mate.interface"); int wsf_orig = 0; @@ -1353,14 +1357,7 @@ public class ArcticaGreeter : Object debug ("Activating numlock"); activate_numlock (); } - } - Pid atspi_pid = 0; - Pid nmapplet_pid = 0; - Pid geoclueagent_pid = 0; - - if (!do_test_mode) - { wsf_orig = gsettings_mate_desktop_interface.get_int ("window-scaling-factor"); gsettings_mate_desktop_interface.set_int ("window-scaling-factor", 1); |