diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-14 12:03:21 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-14 12:03:21 (EST) |
commit | 71390a4e44a71bb8c9b03cb1b166dc835b7347c5 (patch) | |
tree | b847378a2cba5008053321251c499b1281a022f6 | |
parent | ad8fabe8144e8db297f1f1abb7aae7d61ef56abd (diff) | |
download | marquee-71390a4e44a71bb8c9b03cb1b166dc835b7347c5.zip marquee-71390a4e44a71bb8c9b03cb1b166dc835b7347c5.tar.gz marquee-71390a4e44a71bb8c9b03cb1b166dc835b7347c5.tar.bz2 |
MqBackForwardButtonBox: Disable focus on back and forward buttons
-rw-r--r-- | src/toolbars/navigation/back-forward-button-box.c | 4 |
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", |