diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-14 17:44:30 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-14 17:44:30 (EST) |
commit | b417eae36dab90a662cd464124299b65ab773052 (patch) | |
tree | 230f1d4b4b57ea6e6826f32ec20810129986391b /src | |
parent | 381a11344a5f74692aec577f92493000bbfe00d5 (diff) | |
download | marquee-b417eae36dab90a662cd464124299b65ab773052.zip marquee-b417eae36dab90a662cd464124299b65ab773052.tar.gz marquee-b417eae36dab90a662cd464124299b65ab773052.tar.bz2 |
MqMainMenu: Disable focus on child button
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 2 |
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); |