[gnome-settings-daemon] power: Remove non-working activity simulation on resume



commit 87a2490dc8c154a3eb7ead55c6a60e9e7fb81d1a
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jan 14 10:23:42 2013 +0100

    power: Remove non-working activity simulation on resume
    
    The system's idle should already be reset in some other way,
    and that code doesn't do anything with gnome-shell.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691700

 plugins/power/gsd-power-manager.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 5ea161d..af91ac5 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -3918,17 +3918,6 @@ handle_resume_actions (GsdPowerManager *manager)
         gboolean ret;
         GError *error = NULL;
 
-        /* this displays the unlock dialogue so the user doesn't have
-         * to move the mouse or press any key before the window comes up */
-        g_dbus_connection_call (manager->priv->connection,
-                                GS_DBUS_NAME,
-                                GS_DBUS_PATH,
-                                GS_DBUS_INTERFACE,
-                                "SimulateUserActivity",
-                                NULL, NULL,
-                                G_DBUS_CALL_FLAGS_NONE, -1,
-                                NULL, NULL, NULL);
-
         /* close existing notifications on resume, the system power
          * state is probably different now */
         notify_close_if_showing (manager->priv->notification_low);



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