summaryrefslogtreecommitdiffstats
path: root/src/toolbars
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-14 17:43:29 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-14 17:43:29 (EST)
commit381a11344a5f74692aec577f92493000bbfe00d5 (patch)
tree355c7684c626f249b58490b107c505c4f2239f80 /src/toolbars
parent27c928076f549051d3df256051f00215ffacb960 (diff)
downloadmarquee-381a11344a5f74692aec577f92493000bbfe00d5.zip
marquee-381a11344a5f74692aec577f92493000bbfe00d5.tar.gz
marquee-381a11344a5f74692aec577f92493000bbfe00d5.tar.bz2
MqDownloadsButton: Disable focus on child button
Diffstat (limited to 'src/toolbars')
-rw-r--r--src/toolbars/navigation/downloads-button.c2
1 files changed, 2 insertions, 0 deletions
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*/