gnome-power-manager-07-screensaver.diff revision 12374
12374N/A--- data/gpm-prefs.glade.orig 2008-02-04 10:15:41.232379000 +0800
12374N/A+++ data/gpm-prefs.glade 2008-02-04 16:22:55.133775000 +0800
12374N/A+ <property name="label" translatable="yes">_Lock screen when computer is restored from blank screen, suspend or hibernate</property>
12374N/A--- data/gnome-power-manager.schemas.in.orig 2008-02-04 10:12:40.941327000 +0800
12374N/A+++ data/gnome-power-manager.schemas.in 2008-02-04 10:24:07.361341000 +0800
12374N/A+ <applyto>/apps/gnome-power-manager/ui/enable_screen_lock</applyto>
12374N/A+ <long>If screen lock should be used when lid is closed, or system performs a suspend or hibernate action.</long>
12374N/A <applyto>/apps/gnome-power-manager/ui/show_actions_in_menu</applyto>
12374N/A--- src/gpm-conf.h.orig 2008-02-04 10:01:21.524585000 +0800
12374N/A+++ src/gpm-conf.h 2008-02-04 10:03:10.203311000 +0800
12374N/A #define GPM_CONF_UI_SHOW_CPUFREQ GPM_CONF_DIR "/ui/cpufreq_show"
12374N/A #define GPM_CONF_UI_SHOW_ACTIONS_IN_MENU GPM_CONF_DIR "/ui/show_actions_in_menu"
12374N/A #define GPM_CONF_UI_ENABLE_BEEPING GPM_CONF_DIR "/ui/enable_sound"
12374N/A+#define GPM_CONF_UI_ENABLE_SCREEN_LOCK GPM_CONF_DIR "/ui/enable_screen_lock"
12374N/A #define GPM_CONF_SESSION_REQUEST_SAVE "/apps/gnome-session/options/auto_save_session"
12374N/A--- src/gpm-screensaver.c.orig 2008-02-05 13:29:47.692582000 +0800
12374N/A+++ src/gpm-screensaver.c 2008-02-05 13:31:01.580705000 +0800
12374N/A #include "gpm-conf.h"
12374N/A #include "gpm-screensaver.h"
12374N/A #include "gpm-debug.h"
12374N/A #include <libdbus-proxy.h>
12374N/A+ command = g_strdup ("/usr/X11/bin/xscreensaver-command -lock");
12374N/A--- src/gpm-prefs-core.c.org 2008-02-05 13:56:31.775812000 +0800
12374N/A+++ src/gpm-prefs-core.c 2008-02-05 13:52:48.084206000 +0800
12374N/A--- src/gpm-control.c.orig 2007-07-27 07:28:18.000000000 +0800
12374N/A+++ src/gpm-control.c 2008-02-13 13:06:29.259536000 +0800