From 381a11344a5f74692aec577f92493000bbfe00d5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 17:43:29 -0500 Subject: MqDownloadsButton: Disable focus on child button --- (limited to 'src') diff --git a/src/toolbars/navigation/downloads-button.c b/src/toolbars/navigation/downloads-button.c index 29d2884..852828a 100644 --- a/src/toolbars/navigation/downloads-button.c +++ b/src/toolbars/navigation/downloads-button.c @@ -53,6 +53,8 @@ mq_downloads_button_init(MqDownloadsButton *downloads_button) GTK_ICON_SIZE_SMALL_TOOLBAR)); gtk_tool_button_set_label(GTK_TOOL_BUTTON(downloads_button), "Downloads"); + gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(downloads_button)), + FALSE); gtk_widget_set_tooltip_text(GTK_WIDGET(downloads_button), "Show downloads"); gtk_widget_set_sensitive(GTK_WIDGET(downloads_button), FALSE); /*TODO*/ -- cgit v0.9.1