From 8399024c273914e1f3c3ddd2bb9697cbdf5703fb Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 15:56:30 -0500 Subject: MqStopReloadButton: Really disable focus, on child button --- (limited to 'src/toolbars/navigation') diff --git a/src/toolbars/navigation/stop-reload-button.c b/src/toolbars/navigation/stop-reload-button.c index c108049..e3a2f48 100644 --- a/src/toolbars/navigation/stop-reload-button.c +++ b/src/toolbars/navigation/stop-reload-button.c @@ -181,7 +181,8 @@ mq_stop_reload_button_init(MqStopReloadButton *stop_reload_button) gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(stop_reload_button), stop_reload_button->stop_icon); gtk_tool_button_set_label(GTK_TOOL_BUTTON(stop_reload_button), "Stop"); - gtk_widget_set_can_focus(GTK_WIDGET(stop_reload_button), FALSE); + gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(stop_reload_button)), + FALSE); gtk_widget_set_tooltip_text(GTK_WIDGET(stop_reload_button), "Stop loading the current page"); g_signal_connect(stop_reload_button, "clicked", -- cgit v0.9.1