allow to choose the number of blink for urgent task

git-svn-id: http://tint2.googlecode.com/svn/trunk@119 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-06-20 14:41:06 +00:00
parent 533ab08523
commit 4c5408d5fd
5 changed files with 25 additions and 3 deletions

View File

@@ -83,6 +83,7 @@ void init_config()
panel_config = calloc(1, sizeof(Panel));
// window manager's menu default value == false
wm_menu = 0;
max_tick_urgent = 7;
}
@@ -318,6 +319,8 @@ void add_entry (char *key, char *value)
}
else if (strcmp (key, "wm_menu") == 0)
wm_menu = atoi (value);
else if (strcmp (key, "urgent_nb_of_blink") == 0)
max_tick_urgent = (atoi (value) * 2) + 1;
/* Battery */
#ifdef ENABLE_BATTERY