fixed config reload SIGUSR1. added systray = 1 parameter to enable systray
git-svn-id: http://tint2.googlecode.com/svn/trunk@242 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -71,6 +71,13 @@ void init_panel()
|
||||
int i, old_nb_panel;
|
||||
Panel *new_panel, *p;
|
||||
|
||||
init_tooltip();
|
||||
init_systray();
|
||||
init_clock();
|
||||
#ifdef ENABLE_BATTERY
|
||||
init_battery();
|
||||
#endif
|
||||
|
||||
cleanup_taskbar();
|
||||
for (i=0 ; i < nb_panel ; i++) {
|
||||
free_area(&panel1[i].area);
|
||||
@@ -123,7 +130,7 @@ void init_panel()
|
||||
init_panel_size_and_position(p);
|
||||
|
||||
// add childs
|
||||
if (p->clock.area.on_screen) {
|
||||
if (clock_enabled) {
|
||||
init_clock_panel(p);
|
||||
p->area.list = g_slist_append(p->area.list, &p->clock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user