fixed battery drawing
git-svn-id: http://tint2.googlecode.com/svn/trunk@241 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -274,7 +274,7 @@ void add_entry (char *key, char *value)
|
||||
else if (strcmp (key, "battery") == 0) {
|
||||
#ifdef ENABLE_BATTERY
|
||||
if(atoi(value) == 1)
|
||||
panel_config.battery.area.on_screen = 1;
|
||||
battery_enabled = 1;
|
||||
#else
|
||||
if(atoi(value) == 1)
|
||||
fprintf(stderr, "tint2 is build without battery support\n");
|
||||
|
||||
Reference in New Issue
Block a user