From 27c928076f549051d3df256051f00215ffacb960 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 17:43:14 -0500 Subject: MqHistoryButton: Disable focus on child button --- (limited to 'src/toolbars/navigation/history-button.c') diff --git a/src/toolbars/navigation/history-button.c b/src/toolbars/navigation/history-button.c index c48cc42..63736f7 100644 --- a/src/toolbars/navigation/history-button.c +++ b/src/toolbars/navigation/history-button.c @@ -52,6 +52,8 @@ mq_history_button_init(MqHistoryButton *history_button) gtk_image_new_from_icon_name("document-open-recent", GTK_ICON_SIZE_SMALL_TOOLBAR)); gtk_tool_button_set_label(GTK_TOOL_BUTTON(history_button), "History"); + gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(history_button)), + FALSE); gtk_widget_set_tooltip_text(GTK_WIDGET(history_button), "Show browsing history"); gtk_widget_set_sensitive(GTK_WIDGET(history_button), FALSE); /*TODO*/ -- cgit v0.9.1