From 2c90d97a7b3acf93428a9229ffd41b566645b2b3 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 22 Oct 2008 00:05:04 +0200 Subject: [PATCH] Use Yes and No without labels in Addon toolbars --- midori/midori-addons.c | 2 -- midori/midori-stock.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) 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" -- 2.39.5