fixed Issue 282

git-svn-id: http://tint2.googlecode.com/svn/trunk@526 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-08-08 14:06:15 +00:00
parent 35b94d7acd
commit 3eb1b736e3
8 changed files with 61 additions and 18 deletions

View File

@@ -230,6 +230,7 @@ void init_battery_panel(void *p)
battery->area.parent = p;
battery->area.panel = p;
battery->area._draw_foreground = draw_battery;
battery->area.size_mode = SIZE_BY_CONTENT;
battery->area._resize = resize_battery;
battery->area.resize = 1;
battery->area.redraw = 1;