From e807948be3ebf0bda60925df9023c2331324a1b9 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 17:40:25 -0500 Subject: MqHomeButton: Disable focus on child button --- (limited to 'src/toolbars/navigation/home-button.c') diff --git a/src/toolbars/navigation/home-button.c b/src/toolbars/navigation/home-button.c index 98f3ca1..64c116f 100644 --- a/src/toolbars/navigation/home-button.c +++ b/src/toolbars/navigation/home-button.c @@ -144,6 +144,8 @@ mq_home_button_init(MqHomeButton *home_button) gtk_image_new_from_icon_name("go-home", GTK_ICON_SIZE_SMALL_TOOLBAR)); gtk_tool_button_set_label(GTK_TOOL_BUTTON(home_button), "Home"); + gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(home_button)), + FALSE); gtk_widget_set_tooltip_text(GTK_WIDGET(home_button), "Load the home page"); g_signal_connect(home_button, "clicked", G_CALLBACK(clicked_cb), NULL); -- cgit v0.9.1