From 771414977474e1b4be5180c99e36ff4b8e25cec0 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 5 May 2010 14:49:28 +0000 Subject: [PATCH] Account for the average size of the border for the actual icon size --- src/applets/tasks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/applets/tasks.c b/src/applets/tasks.c index 8a08d5c..5fd3af9 100644 --- a/src/applets/tasks.c +++ b/src/applets/tasks.c @@ -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;