]> git.pld-linux.org Git - packages/gnome-panel.git/commitdiff
- obsoleted
authorŁukasz Kieś <kiesiu@pld-linux.org>
Wed, 28 Mar 2012 20:35:11 +0000 (20:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnome-panel-use-sysconfig-timezone.patch -> 1.3

gnome-panel-use-sysconfig-timezone.patch [deleted file]

diff --git a/gnome-panel-use-sysconfig-timezone.patch b/gnome-panel-use-sysconfig-timezone.patch
deleted file mode 100644 (file)
index 1a60ab6..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-Index: applets/clock/system-timezone.c
-===================================================================
---- applets/clock/system-timezone.c    (revision 11072)
-+++ applets/clock/system-timezone.c    (working copy)
-@@ -67,13 +67,14 @@
- #include "system-timezone.h"
- /* Files that we look at and that should be monitored */
--#define CHECK_NB 5
--#define ETC_TIMEZONE        "/etc/timezone"
--#define ETC_TIMEZONE_MAJ    "/etc/TIMEZONE"
--#define ETC_RC_CONF         "/etc/rc.conf"
--#define ETC_SYSCONFIG_CLOCK "/etc/sysconfig/clock"
--#define ETC_CONF_D_CLOCK    "/etc/conf.d/clock"
--#define ETC_LOCALTIME       "/etc/localtime"
-+#define CHECK_NB 6
-+#define ETC_TIMEZONE           "/etc/timezone"
-+#define ETC_TIMEZONE_MAJ       "/etc/TIMEZONE"
-+#define ETC_RC_CONF            "/etc/rc.conf"
-+#define ETC_SYSCONFIG_CLOCK    "/etc/sysconfig/clock"
-+#define ETC_SYSCONFIG_TIMEZONE "/etc/sysconfig/timezone"
-+#define ETC_CONF_D_CLOCK       "/etc/conf.d/clock"
-+#define ETC_LOCALTIME          "/etc/localtime"
- /* The first 4 characters in a timezone file, from tzfile.h */
- #define TZ_MAGIC "TZif"
-@@ -93,6 +95,7 @@
-         ETC_TIMEZONE,
-         ETC_TIMEZONE_MAJ,
-         ETC_SYSCONFIG_CLOCK,
-+        ETC_SYSCONFIG_TIMEZONE,
-         ETC_CONF_D_CLOCK,
-         ETC_LOCALTIME
- };
-@@ -312,6 +315,7 @@
-  *    openSUSE: the TIMEZONE key in /etc/sysconfig/clock
-  *    Solaris/OpenSolaris: the TZ key in /etc/TIMEZONE
-  *    Arch Linux: the TIMEZONE key in /etc/rc.conf
-+ *    PLD Linux: the TIMEZONE key in /etc/sysconfig/timezone
-  *    Gentoo (old): the ZONE key in /etc/conf.d/clock
-  *
-  *    FIXME: reading the system-tools-backends, it seems there's this too:
-@@ -554,6 +558,22 @@
-                                                "ZONE", tz, error);
- }
-+/* This works for PLD Linux */
-+static char *
-+system_timezone_read_etc_sysconfig_timezone (void)
-+{
-+      return system_timezone_read_key_file (ETC_SYSCONFIG_TIMEZONE,
-+                                            "TIMEZONE");
-+}
-+
-+static gboolean
-+system_timezone_write_etc_sysconfig_timezone (const char  *tz,
-+                                            GError     **error)
-+{
-+      return system_timezone_write_key_file (ETC_SYSCONFIG_TIMEZONE,
-+                                             "TIMEZONE", tz, error);
-+}
-+
- /* This works for openSUSE */
- static char *
- system_timezone_read_etc_sysconfig_clock_alt (void)
-@@ -812,6 +832,7 @@
-         system_timezone_read_etc_sysconfig_clock_alt,
-         system_timezone_read_etc_TIMEZONE,
-         system_timezone_read_etc_rc_conf,
-+        system_timezone_read_etc_sysconfig_timezone,
-         /* reading deprecated config files */
-         system_timezone_read_etc_conf_d_clock,
-         /* reading /etc/timezone directly. Expensive since we have to stat
-@@ -983,6 +1004,7 @@
-         system_timezone_write_etc_sysconfig_clock_alt,
-         system_timezone_write_etc_TIMEZONE,
-         system_timezone_write_etc_rc_conf,
-+        system_timezone_write_etc_sysconfig_timezone,
-         /* writing deprecated config files if they exist and have the
-          * setting already present */
-         system_timezone_write_etc_conf_d_clock,
This page took 0.034055 seconds and 4 git commands to generate.