[Xfce4-commits] <xfce4-panel:nick/gtk3> Only use names from the /posix directory.

Nick Schermer noreply at xfce.org
Mon Apr 8 00:52:11 CEST 2013


Updating branch refs/heads/nick/gtk3
         to 005684459638da0354426867cb1b0d6379902954 (commit)
       from 45f8b8fbd93ac3ca5b0d150e23b87846e7599c6a (commit)

commit 005684459638da0354426867cb1b0d6379902954
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Mar 19 20:54:57 2013 +0100

    Only use names from the /posix directory.
    
    This does not mean we also enforce posix timezones,
    users can prepend that them selfs if they want, its
    just about avoiding duplicate names.

 plugins/clock/clock.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index f84b377..1d82600 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -49,7 +49,9 @@
 /* e.g. "time-admin" */
 #define DEFAULT_TIME_CONFIG_TOOL "time-admin"
 
-#define ZONEINFO_DIR "/usr/share/zoneinfo/"
+/* Use the posix directory for the names. If people want a time based on posix or
+ * right time, they can prepend that manually in the entry */
+#define ZONEINFO_DIR "/usr/share/zoneinfo/posix/"
 
 
 


More information about the Xfce4-commits mailing list