X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fconfig.c;h=cbb9d664e4dc1a0c5977a0d87a8b47647e30bfa5;hb=9becd8bd3b513a0bbfe778b2ef88f6d598fdf03a;hp=fe3f9fee2bce686cf2804bbac436378034ec2c53;hpb=8622308774bcb0569c8ffa1ea3f928b9d20f35b8;p=chaz%2Ftint2 diff --git a/src/config.c b/src/config.c index fe3f9fe..cbb9d66 100644 --- a/src/config.c +++ b/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);