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



commit 6a271e0cb0134d6dd7d1617347b88fccc43bdd9b
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 2887d52..5251175 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


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