summaryrefslogtreecommitdiffstats
path: root/clock-wakeups.patch
diff options
context:
space:
mode:
Diffstat (limited to 'clock-wakeups.patch')
-rw-r--r--clock-wakeups.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/clock-wakeups.patch b/clock-wakeups.patch
new file mode 100644
index 0000000..6f842aa
--- /dev/null
+++ b/clock-wakeups.patch
@@ -0,0 +1,23 @@
+diff -up gnome-panel-2.23.3/applets/clock/system-timezone.c.wakeups gnome-panel-2.23.3/applets/clock/system-timezone.c
+--- gnome-panel-2.23.3/applets/clock/system-timezone.c.wakeups 2008-06-10 19:31:19.000000000 -0400
++++ gnome-panel-2.23.3/applets/clock/system-timezone.c 2008-06-10 19:33:02.000000000 -0400
+@@ -67,7 +67,7 @@
+ #include "system-timezone.h"
+
+ /* Files that we look at and that should be monitored */
+-#define CHECK_NB 5
++#define CHECK_NB 2
+ #ifndef SYSTZ_SET_TEST
+ #define ETC_TIMEZONE "/etc/timezone"
+ #define ETC_TIMEZONE_MAJ "/etc/TIMEZONE"
+@@ -90,10 +90,7 @@
+ #define TZ_MAGIC "TZif"
+
+ static char *files_to_check[CHECK_NB] = {
+- ETC_TIMEZONE,
+- ETC_TIMEZONE_MAJ,
+ ETC_SYSCONFIG_CLOCK,
+- ETC_CONF_D_CLOCK,
+ ETC_LOCALTIME
+ };
+