ui/gtk/toolbar.c

changeset 90
2019fdbaadfd
parent 86
3c63f57a8f77
child 116
480354705c2f
--- a/ui/gtk/toolbar.c	Sun Feb 15 15:44:24 2015 +0100
+++ b/ui/gtk/toolbar.c	Tue Feb 17 20:12:22 2015 +0100
@@ -238,6 +238,8 @@
         GdkPixbuf *pixbuf = ui_get_image(item->image);
         GtkWidget *image = gtk_image_new_from_pixbuf(pixbuf);
         gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(button), image);
+    } else {
+        gtk_tool_item_set_is_important(button, TRUE);
     }
     
     if(item->callback) {

mercurial