From 11a47156a02034cf00a912d9355fc00a3a5a0e9f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 10 Jun 2008 23:36:50 +0000 Subject: avoid unnecessary wakeups --- clock-wakeups.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 clock-wakeups.patch (limited to 'clock-wakeups.patch') 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 + }; + -- cgit