[gnome-packagekit] Connect to the correct signal name for gnome-session idle detection



commit dda81aee1b24004214987935d6d2b59b31856eba
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 15 15:22:27 2009 +0100

    Connect to the correct signal name for gnome-session idle detection

 src/gpk-auto-refresh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-auto-refresh.c b/src/gpk-auto-refresh.c
index 7711f00..12a3d2c 100644
--- a/src/gpk-auto-refresh.c
+++ b/src/gpk-auto-refresh.c
@@ -546,7 +546,7 @@ gpk_auto_refresh_init (GpkAutoRefresh *arefresh)
 
 	/* use gnome-session for the idle detection */
 	arefresh->priv->session = gpk_session_new ();
-	g_signal_connect (arefresh->priv->session, "idle_changed",
+	g_signal_connect (arefresh->priv->session, "idle-changed",
 			  G_CALLBACK (gpk_auto_refresh_session_idle_changed_cb), arefresh);
 	arefresh->priv->session_idle = gpk_session_get_idle (arefresh->priv->session);
 



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