View | Details | Raw Unified | Return to bug 144980
Collapse All | Expand All

(-)gnome-power-manager/Makefile (-1 / +1 lines)
Lines 8-14 Link Here
8
8
9
PORTNAME=	gnome-power-manager
9
PORTNAME=	gnome-power-manager
10
PORTVERSION=	2.24.4
10
PORTVERSION=	2.24.4
11
PORTREVISION=	8
11
PORTREVISION=	9
12
CATEGORIES=	sysutils gnome
12
CATEGORIES=	sysutils gnome
13
MASTER_SITES=	GNOME
13
MASTER_SITES=	GNOME
14
DIST_SUBDIR=	gnome2
14
DIST_SUBDIR=	gnome2
(-)gnome-power-manager/files/patch-src_gpm-screensaver.c (+14 lines)
Line 0 Link Here
1
--- src/gpm-screensaver.c~	2008-09-04 19:05:15.000000000 +0900
2
+++ src/gpm-screensaver.c	2010-03-24 00:02:58.000000000 +0900
3
@@ -137,9 +137,9 @@
4
 				     screensaver, NULL);
5
 
6
 	/* get SessionIdleChanged */
7
-	dbus_g_proxy_add_signal (proxy, "SessionIdleChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID);
8
+	dbus_g_proxy_add_signal (proxy, "ActiveChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID);
9
 	dbus_g_proxy_connect_signal (proxy,
10
-				     "SessionIdleChanged",
11
+				     "ActiveChanged",
12
 				     G_CALLBACK (gpm_screensaver_session_idle_changed),
13
 				     screensaver, NULL);
14
 
(-)gnome-power-manager/files/patch-src_gpm_conf.h (+13 lines)
Line 0 Link Here
1
--- src/gpm-conf.h~	2008-09-04 19:05:15.000000000 +0900
2
+++ src/gpm-conf.h	2010-03-24 00:20:25.000000000 +0900
3
@@ -149,8 +149,9 @@
4
 
5
 /* gnome-screensaver */
6
 #define GS_CONF_DIR				"/apps/gnome-screensaver"
7
+#define GS_CONF_SESSION_DIR                     "/desktop/gnome/session"
8
 #define GS_PREF_LOCK_ENABLED			GS_CONF_DIR "/lock_enabled"
9
-#define GS_PREF_IDLE_DELAY			GS_CONF_DIR "/idle_delay"
10
+#define GS_PREF_IDLE_DELAY			GS_CONF_SESSION_DIR "/idle_delay"
11
 
12
 typedef struct GpmConfPrivate GpmConfPrivate;
13
 

Return to bug 144980