gnome-power-manager-07-screensaver.diff revision 12666
18861N/A--- data/gpm-prefs.glade.orig 2008-02-04 10:15:41.232379000 +0800
18861N/A+++ data/gpm-prefs.glade 2008-02-04 16:22:55.133775000 +0800
18861N/A+ <property name="label" translatable="yes">_Lock screen when computer is restored from blank screen, suspend or hibernate</property>
18861N/A--- data/gnome-power-manager.schemas.in.orig 2008-02-04 10:12:40.941327000 +0800
18861N/A+++ data/gnome-power-manager.schemas.in 2008-02-04 10:24:07.361341000 +0800
18861N/A+ <applyto>/apps/gnome-power-manager/ui/enable_screen_lock</applyto>
18861N/A+ <long>If screen lock should be used when lid is closed, or system performs a suspend or hibernate action.</long>
18861N/A <applyto>/apps/gnome-power-manager/ui/show_actions_in_menu</applyto>
18861N/A--- src/gpm-control.c.orig 2007-07-27 07:28:18.000000000 +0800
18861N/A+++ src/gpm-control.c 2008-02-13 13:06:29.259536000 +0800
18861N/A--- src/gpm-conf.h.orig 2008-02-18 16:47:20.806807000 +0800
18861N/A+++ src/gpm-conf.h 2008-02-18 16:48:11.849112000 +0800
18861N/A #define GPM_CONF_UI_SHOW_ACTIONS_IN_MENU GPM_CONF_DIR "/ui/show_actions_in_menu"
18861N/A #define GPM_CONF_UI_ENABLE_BEEPING GPM_CONF_DIR "/ui/enable_sound"
18861N/A #define GPM_CONF_UI_SHOW_CONTEXT_MENU GPM_CONF_DIR "/ui/show_context_menu"
18861N/A+#define GPM_CONF_UI_ENABLE_SCREEN_LOCK GPM_CONF_DIR "/ui/enable_screen_lock"
18861N/A #define GPM_CONF_SESSION_REQUEST_SAVE "/apps/gnome-session/options/auto_save_session"
18861N/A--- src/gpm-screensaver.c.orig 2008-03-19 22:34:35.519979000 +0800
18861N/A+++ src/gpm-screensaver.c 2008-03-27 12:34:08.147100000 +0800
18861N/A #include "gpm-conf.h"
18861N/A #include "gpm-screensaver.h"
18861N/A #include "gpm-debug.h"
18861N/A #include <libdbus-proxy.h>
+ command = g_strdup ("/usr/bin/xdg-screensaver lock");
--- src/gpm-manager.c.orig 2008-03-22 00:30:47.830993000 +0800
+++ src/gpm-manager.c 2008-03-22 01:52:19.061395000 +0800