summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-19 13:21:27 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-19 13:21:27 (EDT)
commit856a8cccea5c4392809c905c5a6b6b8b90d2190b (patch)
tree64fc7017c866f6aef75ec08e2ef5898ed0938baf
parent4a7cf38155d9775be323fda8eb3a26a2ea10cdcc (diff)
downloadmarquee-856a8cccea5c4392809c905c5a6b6b8b90d2190b.zip
marquee-856a8cccea5c4392809c905c5a6b6b8b90d2190b.tar.gz
marquee-856a8cccea5c4392809c905c5a6b6b8b90d2190b.tar.bz2
src/tab-chrome.c: Disable focus on tab history list icons
Otherwise, the radio button can accept the input focus.
-rw-r--r--src/tab-chrome.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 6d8033d..b94edb7 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -91,6 +91,8 @@ back_forward_list_item_new(WebKitBackForwardListItem *list_item,
gtk_radio_button_new(NULL), "current");
break;
}
+ gtk_widget_set_can_focus(gtk_stack_get_visible_child(
+ GTK_STACK(icon_stack)), FALSE);
box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
gtk_box_pack_start(GTK_BOX(box), icon_stack, FALSE, FALSE, 0);