change systray code. fixed issue 91.

git-svn-id: http://tint2.googlecode.com/svn/trunk@118 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-06-19 21:08:34 +00:00
parent 9efff62930
commit 533ab08523
8 changed files with 41 additions and 91 deletions

View File

@@ -305,7 +305,7 @@ void resize_battery(void *obj)
if(new_width > old_width || new_width < (old_width-6)) {
// refresh and resize other objects on panel
// we try to limit the number of refresh
printf("battery_width %d, new_width %d\n", battery->area.width, new_width);
// printf("battery_width %d, new_width %d\n", battery->area.width, new_width);
panel->area.resize = 1;
systray.area.resize = 1;
panel_refresh = 1;