]> spindle.queued.net Git - midori/commitdiff
Use Yes and No without labels in Addon toolbars
authorChristian Dywan <christian@twotoasts.de>
Tue, 21 Oct 2008 22:05:04 +0000 (00:05 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 21 Oct 2008 22:05:04 +0000 (00:05 +0200)
midori/midori-addons.c
midori/midori-stock.h

index b41e5b0a1ff1b11ff6a46eb39c6668e9e526b422..38a6e9fae48408ea457d68cbd7d669178dc43151 100644 (file)
@@ -1040,7 +1040,6 @@ midori_addons_get_toolbar (MidoriAddons* addons)
 
         /* enable button */
         toolitem = gtk_tool_button_new_from_stock (STOCK_ENABLE);
-        gtk_tool_item_set_is_important (toolitem, TRUE);
         g_signal_connect (toolitem, "clicked",
             G_CALLBACK (midori_addons_button_status_clicked_cb), addons);
         gtk_toolbar_insert (GTK_TOOLBAR (toolbar), toolitem, -1);
@@ -1049,7 +1048,6 @@ midori_addons_get_toolbar (MidoriAddons* addons)
 
         /* disable button */
         toolitem = gtk_tool_button_new_from_stock (STOCK_DISABLE);
-        gtk_tool_item_set_is_important (toolitem, TRUE);
         g_signal_connect (toolitem, "clicked",
             G_CALLBACK (midori_addons_button_status_clicked_cb), addons);
         gtk_toolbar_insert (GTK_TOOLBAR (toolbar), toolitem, -1);
index 601daa76727325764fbbae75ceff68799a665f6f..b82c6fcbfb8d44edac3cc528d3d15b43c3f578a6 100644 (file)
@@ -22,8 +22,8 @@
 #define STOCK_BOOKMARK           "stock_bookmark"
 #define STOCK_BOOKMARKS          "vcard"
 #define STOCK_CONSOLE            "terminal"
-#define STOCK_DISABLE            "list-remove"
-#define STOCK_ENABLE             "list-add"
+#define STOCK_DISABLE            GTK_STOCK_NO
+#define STOCK_ENABLE             GTK_STOCK_YES
 #define STOCK_EXTENSION          "extension"
 #define STOCK_EXTENSIONS         "extension"
 #define STOCK_HISTORY            "document-open-recent"