Fixed the height of the plug-in when using large icons

This commit is contained in:
Pierre Pronchery 2010-05-05 14:41:52 +00:00
parent f504965cc3
commit 77f9b6e39f

View File

@ -189,7 +189,8 @@ static Task * _task_new(Tasks * tasks, Window window, char const * name,
PANGO_WRAP_WORD_CHAR); PANGO_WRAP_WORD_CHAR);
#endif #endif
gtk_box_pack_start(GTK_BOX(hbox), task->label, FALSE, TRUE, 4); gtk_box_pack_start(GTK_BOX(hbox), task->label, FALSE, TRUE, 4);
gtk_widget_set_size_request(task->widget, tasks->icon_width, -1); gtk_widget_set_size_request(task->widget, tasks->icon_width,
tasks->icon_height);
#endif #endif
gtk_container_add(GTK_CONTAINER(task->widget), hbox); gtk_container_add(GTK_CONTAINER(task->widget), hbox);
_task_set(task, name, pixbuf); _task_set(task, name, pixbuf);