summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-14 17:44:30 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-14 17:44:30 (EST)
commitb417eae36dab90a662cd464124299b65ab773052 (patch)
tree230f1d4b4b57ea6e6826f32ec20810129986391b
parent381a11344a5f74692aec577f92493000bbfe00d5 (diff)
downloadmarquee-b417eae36dab90a662cd464124299b65ab773052.zip
marquee-b417eae36dab90a662cd464124299b65ab773052.tar.gz
marquee-b417eae36dab90a662cd464124299b65ab773052.tar.bz2
MqMainMenu: Disable focus on child button
-rw-r--r--src/toolbars/navigation/main-menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c
index a9f5cd3..7aa01b9 100644
--- a/src/toolbars/navigation/main-menu.c
+++ b/src/toolbars/navigation/main-menu.c
@@ -540,6 +540,8 @@ mq_main_menu_init(MqMainMenu *main_menu)
gtk_image_new_from_icon_name("open-menu-symbolic",
GTK_ICON_SIZE_SMALL_TOOLBAR));
gtk_tool_button_set_label(GTK_TOOL_BUTTON(main_menu), "Menu");
+ gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(main_menu)),
+ FALSE);
gtk_widget_set_tooltip_text(GTK_WIDGET(main_menu), "Open menu");
g_signal_connect(main_menu, "clicked",
G_CALLBACK(menu_clicked_cb), NULL);