]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
add some code around taskbar_name
[chaz/tint2] / src / config.c
index 04ec056173607730db02dafcf57b9b5becf27500..8170631cc12941e8570390a4763f5ee8084cfa98 100644 (file)
@@ -40,6 +40,7 @@
 #include "panel.h"
 #include "task.h"
 #include "taskbar.h"
+#include "taskbarname.h"
 #include "systraybar.h"
 #include "launcher.h"
 #include "clock.h"
@@ -460,6 +461,17 @@ void add_entry (char *key, char *value)
                id = (id < backgrounds->len && id >= 0) ? id : 0;
                panel_config.g_taskbar.bg_active = &g_array_index(backgrounds, Background, id);
        }
+       else if (strcmp (key, "taskbar_name") == 0) {
+               taskbarname_enabled = atoi (value);
+       }
+       else if (strcmp (key, "taskbar_name_background_id") == 0) {
+       }
+       else if (strcmp (key, "taskbar_name_active_background_id") == 0) {
+       }
+       else if (strcmp (key, "taskbar_font_color") == 0) {
+       }
+       else if (strcmp (key, "taskbar_active_font_color") == 0) {
+       }
 
        /* Task */
        else if (strcmp (key, "task_text") == 0)
This page took 0.022317 seconds and 4 git commands to generate.