aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parent89b3d546af6ccee13fe229413a7f7a1ea444dfb5 (diff)
downloadgsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.tar
gsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.tar.gz
gsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.tar.bz2
gsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.tar.lz
gsoc2013-epiphany-d27f1853d4aef2a2d04e4b8c80fb2f89dc18b837.tar.xz
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')
-rw-r--r--src/ephy-toolbar.c2
-rw-r--r--src/ephy-window.c2
2 files changed, 4 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),
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 4c3a17a84..71c2f47c0 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1484,6 +1484,7 @@ setup_ui_manager (EphyWindow *window)
action =
g_object_new (EPHY_TYPE_NAVIGATION_HISTORY_ACTION,
"name", "NavigationBack",
+ "label", _("Back"),
"icon-name", "go-previous-symbolic",
"tooltip", _("Go to the previous visited page"),
"window", window,
@@ -1496,6 +1497,7 @@ setup_ui_manager (EphyWindow *window)
action =
g_object_new (EPHY_TYPE_NAVIGATION_HISTORY_ACTION,
"name", "NavigationForward",
+ "label", _("Forward"),
"icon-name", "go-next-symbolic",
"tooltip", _("Go to the next visited page"),
"window", window,