*add* clock supports timezones
*add* first preparations for real transparency (tooltip works already, but panel does not. Therefore it is disabled in the source code) git-svn-id: http://tint2.googlecode.com/svn/trunk@304 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
12
src/config.c
12
src/config.c
@@ -366,6 +366,14 @@ void add_entry (char *key, char *value)
|
||||
else if (strcmp (key, "time1_font") == 0) {
|
||||
time1_font_desc = pango_font_description_from_string (value);
|
||||
}
|
||||
else if (strcmp(key, "time1_timezone") == 0) {
|
||||
if (strlen(value) > 0)
|
||||
time1_timezone = strdup(value);
|
||||
}
|
||||
else if (strcmp(key, "time2_timezone") == 0) {
|
||||
if (strlen(value) > 0)
|
||||
time2_timezone = strdup(value);
|
||||
}
|
||||
else if (strcmp (key, "time2_font") == 0) {
|
||||
time2_font_desc = pango_font_description_from_string (value);
|
||||
}
|
||||
@@ -391,6 +399,10 @@ void add_entry (char *key, char *value)
|
||||
if (strlen(value) > 0)
|
||||
time_tooltip_format = strdup (value);
|
||||
}
|
||||
else if (strcmp(key, "clock_tooltip_timezone") == 0) {
|
||||
if (strlen(value) > 0)
|
||||
time_tooltip_timezone = strdup(value);
|
||||
}
|
||||
else if (strcmp(key, "clock_lclick_command") == 0) {
|
||||
if (strlen(value) > 0)
|
||||
clock_lclick_command = strdup(value);
|
||||
|
||||
Reference in New Issue
Block a user