[gnome-settings-daemon] power: Fix what seems to be a c&p typo



commit 89e70a993d99da67fab89627e8fc700d404c25c2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Dec 6 14:37:57 2013 +0100

    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

 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 6f0e9eb..1f1d12e 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -1105,7 +1105,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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]