Account for the average size of the border for the actual icon size
This commit is contained in:
parent
77f9b6e39f
commit
7714149774
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user