summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-14 17:38:19 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-14 17:38:19 (EST)
commit261b8407f74ba02e12f2bc026a6ff7ad6cb6db85 (patch)
tree34433cb62f6815b344a5e6d783d0857c7a88d12f /src
parent8399024c273914e1f3c3ddd2bb9697cbdf5703fb (diff)
downloadmarquee-261b8407f74ba02e12f2bc026a6ff7ad6cb6db85.zip
marquee-261b8407f74ba02e12f2bc026a6ff7ad6cb6db85.tar.gz
marquee-261b8407f74ba02e12f2bc026a6ff7ad6cb6db85.tar.bz2
MqBookmarksButtonBox: Disable focus on buttons
Diffstat (limited to 'src')
-rw-r--r--src/toolbars/navigation/bookmarks-button-box.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/toolbars/navigation/bookmarks-button-box.c b/src/toolbars/navigation/bookmarks-button-box.c
index ce82ea8..e43f17d 100644
--- a/src/toolbars/navigation/bookmarks-button-box.c
+++ b/src/toolbars/navigation/bookmarks-button-box.c
@@ -67,6 +67,8 @@ mq_bookmarks_button_box_init(MqBookmarksButtonBox *bookmarks_button_box)
"non-starred", GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_button_set_relief(GTK_BUTTON(bookmarks_button_box->edit_button),
GTK_RELIEF_NONE);
+ gtk_widget_set_can_focus(GTK_WIDGET(bookmarks_button_box->edit_button),
+ FALSE);
gtk_widget_set_tooltip_text(bookmarks_button_box->edit_button,
"Bookmark this page");
/* TODO: */
@@ -79,6 +81,8 @@ mq_bookmarks_button_box_init(MqBookmarksButtonBox *bookmarks_button_box)
"edit-paste", GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_button_set_relief(GTK_BUTTON(bookmarks_button_box->show_button),
GTK_RELIEF_NONE);
+ gtk_widget_set_can_focus(GTK_WIDGET(bookmarks_button_box->show_button),
+ FALSE);
gtk_widget_set_tooltip_text(bookmarks_button_box->show_button,
"Show bookmarks");
/* TODO: */