]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
basic systray with some bugs, update tintrc sample file
[chaz/tint2] / src / config.c
index 8f88fdfd206dc9e4db338a6ef3fc33c1c71d61e2..abd0be5532baa536a6e9bfbefa07ebc75afcd595 100644 (file)
@@ -311,7 +311,7 @@ void add_entry (char *key, char *value)
       if (time1_format) g_free(time1_format);
       if (strlen(value) > 0) time1_format = strdup (value);
       else time1_format = 0;
-      panel_config->clock.area.visible = 1;
+      panel_config->clock.area.on_screen = 1;
    }
    else if (strcmp (key, "time2_format") == 0) {
       if (time2_format) g_free(time2_format);
@@ -417,7 +417,7 @@ void add_entry (char *key, char *value)
       systray.area.paddingxlr = systray.area.paddingx = atoi (value1);
       if (value2) systray.area.paddingy = atoi (value2);
       if (value3) systray.area.paddingx = atoi (value3);
-      systray.area.visible = 1;
+      systray.area.on_screen = 1;
    }
    else if (strcmp (key, "systray_background_id") == 0) {
       int id = atoi (value);
This page took 0.021864 seconds and 4 git commands to generate.