fixed battery drawing
git-svn-id: http://tint2.googlecode.com/svn/trunk@241 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -128,7 +128,7 @@ void init_panel()
|
||||
p->area.list = g_slist_append(p->area.list, &p->clock);
|
||||
}
|
||||
#ifdef ENABLE_BATTERY
|
||||
if (p->battery.area.on_screen) {
|
||||
if (battery_enabled) {
|
||||
init_battery_panel(p);
|
||||
p->area.list = g_slist_append(p->area.list, &p->battery);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user