From 261b8407f74ba02e12f2bc026a6ff7ad6cb6db85 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 17:38:19 -0500 Subject: MqBookmarksButtonBox: Disable focus on buttons --- (limited to 'src') 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: */ -- cgit v0.9.1