diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2013-12-06 14:37:57 +0100 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2014-05-05 16:19:33 +0200 |
commit | 6a271e0cb0134d6dd7d1617347b88fccc43bdd9b (patch) | |
tree | c9967de3e6d88e4aae1930a3a84d199a6adddb6e | |
parent | 9080e84b3664a1f8d12f46bcfad94bb9740b927b (diff) | |
download | gnome-settings-daemon-6a271e0cb0134d6dd7d1617347b88fccc43bdd9b.tar.gz |
power: Fix what seems to be a c&p typo
The check to inhibit the lid close action when there's external monitors was
quitting after the first run, even though it announces it will check again later.
https://bugzilla.gnome.org/show_bug.cgi?id=719975
-rw-r--r-- | plugins/power/gsd-power-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c index 2887d52b..52511752 100644 --- a/plugins/power/gsd-power-manager.c +++ b/plugins/power/gsd-power-manager.c @@ -2059,7 +2059,7 @@ inhibit_lid_switch_timer_cb (GsdPowerManager *manager) } g_debug ("external monitor still there; trying again later"); - return G_SOURCE_REMOVE; + return G_SOURCE_CONTINUE; } /* Sets up a timer to be triggered some seconds after closing the laptop lid |