rpms/xfce4-datetime-plugin/FC-6 xfce4-datetime-datetime.c.patch, NONE, 1.1
Christoph Wickert (cwickert)
fedora-extras-commits at redhat.com
Sat Jan 27 20:21:30 UTC 2007
Author: cwickert
Update of /cvs/extras/rpms/xfce4-datetime-plugin/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13504
Added Files:
xfce4-datetime-datetime.c.patch
Log Message:
add datetime.c.patch ..really
xfce4-datetime-datetime.c.patch:
--- NEW FILE xfce4-datetime-datetime.c.patch ---
--- panel-plugin/datetime.c.orig 2007-01-15 10:16:04.000000000 +0100
+++ panel-plugin/datetime.c 2007-01-21 16:53:42.000000000 +0100
@@ -430,6 +430,7 @@
gchar *file;
XfceRc *rc;
const gchar *date_font, *time_font, *date_format, *time_format;
+ const gchar *val;
/* load defaults */
date_font = "Bitstream Vera Sans 8";
@@ -445,10 +446,14 @@
if(rc != NULL)
{
- date_font = xfce_rc_read_entry(rc, "date_font", date_font);
- time_font = xfce_rc_read_entry(rc, "time_font", time_font);
- date_format = xfce_rc_read_entry(rc, "date_format", date_format);
- time_format = xfce_rc_read_entry(rc, "time_format", time_format);
+ val = xfce_rc_read_entry(rc, "date_font", date_font);
+ date_font = g_strdup(val);
+ val = xfce_rc_read_entry(rc, "time_font", time_font);
+ time_font = g_strdup(val);
+ val = xfce_rc_read_entry(rc, "date_format", date_format);
+ date_format = g_strdup(val);
+ val = xfce_rc_read_entry(rc, "time_format", time_format);
+ time_format = g_strdup(val);
xfce_rc_close(rc);
}
More information about the scm-commits
mailing list