fixed battery drawing

git-svn-id: http://tint2.googlecode.com/svn/trunk@241 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-10-28 23:01:32 +00:00
parent d0799e91dd
commit 51b9ce356a
5 changed files with 74 additions and 72 deletions

View File

@@ -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");