diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-14 17:43:14 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-14 17:43:14 (EST) |
commit | 27c928076f549051d3df256051f00215ffacb960 (patch) | |
tree | 4c92473f5882d76b98a353bb60985bd6f3e99f04 /src/toolbars | |
parent | e807948be3ebf0bda60925df9023c2331324a1b9 (diff) | |
download | marquee-27c928076f549051d3df256051f00215ffacb960.zip marquee-27c928076f549051d3df256051f00215ffacb960.tar.gz marquee-27c928076f549051d3df256051f00215ffacb960.tar.bz2 |
MqHistoryButton: Disable focus on child button
Diffstat (limited to 'src/toolbars')
-rw-r--r-- | src/toolbars/navigation/history-button.c | 2 |
1 files changed, 2 insertions, 0 deletions
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*/ |