summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/toolbars/navigation/back-forward-button-box.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/toolbars/navigation/back-forward-button-box.c b/src/toolbars/navigation/back-forward-button-box.c
index 9c55919..974403a 100644
--- a/src/toolbars/navigation/back-forward-button-box.c
+++ b/src/toolbars/navigation/back-forward-button-box.c
@@ -406,6 +406,8 @@ mq_back_forward_button_box_init(MqBackForwardButtonBox *back_forward_button_box)
/* Back button */
back_forward_button_box->back_button = gtk_button_new_from_icon_name(
"go-previous", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ gtk_widget_set_can_focus(back_forward_button_box->back_button,
+ FALSE);
gtk_widget_set_tooltip_text(back_forward_button_box->back_button,
"Go back one page");
g_signal_connect(back_forward_button_box->back_button, "clicked",
@@ -414,6 +416,8 @@ mq_back_forward_button_box_init(MqBackForwardButtonBox *back_forward_button_box)
/* Forward button */
back_forward_button_box->forward_button = gtk_button_new_from_icon_name(
"go-next", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ gtk_widget_set_can_focus(back_forward_button_box->forward_button,
+ FALSE);
gtk_widget_set_tooltip_text(back_forward_button_box->forward_button,
"Go forward one page");
g_signal_connect(back_forward_button_box->forward_button, "clicked",