summaryrefslogtreecommitdiff
path: root/packages/gpe-conf/files
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-06-06 07:04:46 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-06 07:04:46 +0000
commit09a6ae49e0fbfcda0f65c00f19c21de325967065 (patch)
tree27e5f8f30da9ee28a10811e89514d64b89e21075 /packages/gpe-conf/files
parent1be88549881ef8920e418c2163c98f39cf820598 (diff)
gpe-conf: gpe-conf sleep: s/ipaq-sleep.conf/.sleep.conf/ for user configuration to sync it with the ipaq-sleep deamon. Previously ipaq-sleep would not pick up the configuration created by gpe-conf sleep for non-root users.
Diffstat (limited to 'packages/gpe-conf/files')
-rw-r--r--packages/gpe-conf/files/ipaq-sleep-configName.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/gpe-conf/files/ipaq-sleep-configName.patch b/packages/gpe-conf/files/ipaq-sleep-configName.patch
new file mode 100644
index 0000000000..34f22094ad
--- /dev/null
+++ b/packages/gpe-conf/files/ipaq-sleep-configName.patch
@@ -0,0 +1,20 @@
+--- gpe-conf-0.1.30/sleep/main.c.orig 2006-06-05 12:23:34.458994776 +0200
++++ gpe-conf-0.1.30/sleep/main.c 2006-06-05 12:23:40.216119560 +0200
+@@ -23,7 +23,7 @@
+ g_spawn_command_line_sync (cmd, NULL, NULL, NULL, NULL);
+ if(save_ISconf(ISconf, ISconf->confName)) {
+ char homeConf[MAXPATHLEN];
+- sprintf(homeConf, "%s/ipaq-sleep.conf", getenv("HOME"));
++ sprintf(homeConf, "%s/.sleep.conf", getenv("HOME"));
+ if(!save_ISconf(ISconf, homeConf))
+ strcpy(ISconf->confName, homeConf);
+ }
+@@ -42,7 +42,7 @@
+ char cname[MAXPATHLEN];
+ GtkWidget *GPE_Config_Sleep;
+
+- sprintf(cname,"%s/ipaq-sleep.conf",g_get_home_dir());
++ sprintf(cname,"%s/.sleep.conf",g_get_home_dir());
+ ISconf = load_ISconf(cname);
+ if(ISconf == NULL) {
+ strcpy(cname, "/etc/ipaq-sleep.conf");