Use Yes and No without labels in Addon toolbars

This commit is contained in:
Christian Dywan 2008-10-22 00:05:04 +02:00
parent 62d7a7d0b4
commit 2c90d97a7b
2 changed files with 2 additions and 4 deletions

View file

@ -1040,7 +1040,6 @@ midori_addons_get_toolbar (MidoriAddons* addons)
/* enable button */ /* enable button */
toolitem = gtk_tool_button_new_from_stock (STOCK_ENABLE); toolitem = gtk_tool_button_new_from_stock (STOCK_ENABLE);
gtk_tool_item_set_is_important (toolitem, TRUE);
g_signal_connect (toolitem, "clicked", g_signal_connect (toolitem, "clicked",
G_CALLBACK (midori_addons_button_status_clicked_cb), addons); G_CALLBACK (midori_addons_button_status_clicked_cb), addons);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), toolitem, -1); gtk_toolbar_insert (GTK_TOOLBAR (toolbar), toolitem, -1);
@ -1049,7 +1048,6 @@ midori_addons_get_toolbar (MidoriAddons* addons)
/* disable button */ /* disable button */
toolitem = gtk_tool_button_new_from_stock (STOCK_DISABLE); toolitem = gtk_tool_button_new_from_stock (STOCK_DISABLE);
gtk_tool_item_set_is_important (toolitem, TRUE);
g_signal_connect (toolitem, "clicked", g_signal_connect (toolitem, "clicked",
G_CALLBACK (midori_addons_button_status_clicked_cb), addons); G_CALLBACK (midori_addons_button_status_clicked_cb), addons);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), toolitem, -1); gtk_toolbar_insert (GTK_TOOLBAR (toolbar), toolitem, -1);

View file

@ -22,8 +22,8 @@
#define STOCK_BOOKMARK "stock_bookmark" #define STOCK_BOOKMARK "stock_bookmark"
#define STOCK_BOOKMARKS "vcard" #define STOCK_BOOKMARKS "vcard"
#define STOCK_CONSOLE "terminal" #define STOCK_CONSOLE "terminal"
#define STOCK_DISABLE "list-remove" #define STOCK_DISABLE GTK_STOCK_NO
#define STOCK_ENABLE "list-add" #define STOCK_ENABLE GTK_STOCK_YES
#define STOCK_EXTENSION "extension" #define STOCK_EXTENSION "extension"
#define STOCK_EXTENSIONS "extension" #define STOCK_EXTENSIONS "extension"
#define STOCK_HISTORY "document-open-recent" #define STOCK_HISTORY "document-open-recent"