summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-14 17:40:25 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-14 17:40:25 (EST)
commite807948be3ebf0bda60925df9023c2331324a1b9 (patch)
tree2209b65455190594f0614d050f2bb220fec307ce
parent261b8407f74ba02e12f2bc026a6ff7ad6cb6db85 (diff)
downloadmarquee-e807948be3ebf0bda60925df9023c2331324a1b9.zip
marquee-e807948be3ebf0bda60925df9023c2331324a1b9.tar.gz
marquee-e807948be3ebf0bda60925df9023c2331324a1b9.tar.bz2
MqHomeButton: Disable focus on child button
-rw-r--r--src/toolbars/navigation/home-button.c2
1 files changed, 2 insertions, 0 deletions
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);