236 gtk_tool_item_set_homogeneous(button, FALSE); |
236 gtk_tool_item_set_homogeneous(button, FALSE); |
237 if(item->image) { |
237 if(item->image) { |
238 GdkPixbuf *pixbuf = ui_get_image(item->image); |
238 GdkPixbuf *pixbuf = ui_get_image(item->image); |
239 GtkWidget *image = gtk_image_new_from_pixbuf(pixbuf); |
239 GtkWidget *image = gtk_image_new_from_pixbuf(pixbuf); |
240 gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(button), image); |
240 gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(button), image); |
|
241 } else { |
|
242 gtk_tool_item_set_is_important(button, TRUE); |
241 } |
243 } |
242 |
244 |
243 if(item->callback) { |
245 if(item->callback) { |
244 UiEventData *event = ucx_mempool_malloc( |
246 UiEventData *event = ucx_mempool_malloc( |
245 obj->ctx->mempool, |
247 obj->ctx->mempool, |