Account for the average size of the border for the actual icon size

This commit is contained in:
Pierre Pronchery 2010-05-05 14:49:28 +00:00
parent 77f9b6e39f
commit 7714149774

View File

@ -279,6 +279,8 @@ static GtkWidget * _tasks_init(PanelApplet * applet)
tasks->icon_height = 48;
gtk_icon_size_lookup(tasks->icon_size, &tasks->icon_width,
&tasks->icon_height);
tasks->icon_width -= 4;
tasks->icon_height -= 4;
tasks->display = NULL;
tasks->screen = NULL;
tasks->root = NULL;