Use Yes and No without labels in Addon toolbars
This commit is contained in:
parent
62d7a7d0b4
commit
2c90d97a7b
|
@ -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);
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue