From b417eae36dab90a662cd464124299b65ab773052 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 17:44:30 -0500 Subject: MqMainMenu: Disable focus on child button --- (limited to 'src/toolbars/navigation/main-menu.c') 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); -- cgit v0.9.1