[libhandy/tabs: 53/62] Skip focus for hidden tab bar
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/tabs: 53/62] Skip focus for hidden tab bar
- Date: Sat, 12 Sep 2020 19:27:45 +0000 (UTC)
commit 80434bf75fa0a523a73264d3edaa2d5b52be43e1
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Sep 11 16:19:35 2020 +0500
Skip focus for hidden tab bar
src/hdy-tab-bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/hdy-tab-bar.c b/src/hdy-tab-bar.c
index 928433e1..a72c8d91 100644
--- a/src/hdy-tab-bar.c
+++ b/src/hdy-tab-bar.c
@@ -255,7 +255,7 @@ hdy_tab_bar_focus (GtkWidget *widget,
gboolean is_rtl;
GtkDirectionType start, end;
- if (!self->view)
+ if (!hdy_tab_bar_get_tabs_revealed (self))
return GDK_EVENT_PROPAGATE;
if (!gtk_container_get_focus_child (GTK_CONTAINER (self)))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]