From: Christian Dywan Date: Tue, 21 Oct 2008 22:05:04 +0000 (+0200) Subject: Use Yes and No without labels in Addon toolbars X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c90d97a7b3acf93428a9229ffd41b566645b2b3;p=midori Use Yes and No without labels in Addon toolbars --- diff --git a/midori/midori-addons.c b/midori/midori-addons.c index b41e5b0a..38a6e9fa 100644 --- a/midori/midori-addons.c +++ b/midori/midori-addons.c @@ -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); diff --git a/midori/midori-stock.h b/midori/midori-stock.h index 601daa76..b82c6fcb 100644 --- a/midori/midori-stock.h +++ b/midori/midori-stock.h @@ -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"