aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-17 04:48:43 +0800
committerXan Lopez <xan@igalia.com>2012-01-17 04:48:43 +0800
commitd27f1853d4aef2a2d04e4b8c80fb2f89dc18b837 (patch)
tree98e787066722d0d80c26e3a43e54318751e055e3 /src/ephy-toolbar.c
parent89b3d546af6ccee13fe229413a7f7a1ea444dfb5 (diff)
downloadgsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.tar.gz
gsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.tar.zst
gsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.zip
Back/Forward actions do need to have a label set
Since they are used in context menus too. Re-add those and force the toolbar buttons to be image-only.
Diffstat (limited to 'src/ephy-toolbar.c')
-rw-r--r--src/ephy-toolbar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index 2e1b1199e..1ee6af8a8 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -100,6 +100,7 @@ ephy_toolbar_constructed (GObject *object)
action = gtk_action_group_get_action (action_group, "NavigationBack");
gtk_activatable_set_related_action (GTK_ACTIVATABLE (tool_button),
action);
+ gtk_button_set_label (GTK_BUTTON (tool_button), NULL);
gtk_container_add (GTK_CONTAINER (box), GTK_WIDGET (tool_button));
/* Forward */
@@ -110,6 +111,7 @@ ephy_toolbar_constructed (GObject *object)
action = gtk_action_group_get_action (action_group, "NavigationForward");
gtk_activatable_set_related_action (GTK_ACTIVATABLE (tool_button),
action);
+ gtk_button_set_label (GTK_BUTTON (tool_button), NULL);
gtk_container_add (GTK_CONTAINER (box), GTK_WIDGET (tool_button));
gtk_style_context_add_class (gtk_widget_get_style_context (box),