From 50847dfe436c3b19c03b190a6245e90ccaf5e8cb Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Tue, 30 Nov 2021 11:52:36 -0800 Subject: [PATCH] ui: Remove explicit can-focus Glade misleads us into thinking we need these, but the property is somewhat confusing in GTK3. In general we don't want `can-focus` to be true for containers, as that will break keynav for the children. For non-containers, the defaults are appropriate. Instead of manually setting `can-focus`, we should just use the default values. GTK has sane defaults. Fixes https://gitlab.gnome.org/GNOME/calls/-/issues/366 --- src/ui/call-record-row.ui | 6 ------ src/ui/call-selector-item.ui | 6 ------ src/ui/call-window.ui | 13 ------------- src/ui/contacts-box.ui | 9 --------- src/ui/history-box.ui | 3 --- src/ui/in-app-notification.ui | 4 ---- src/ui/main-window.ui | 13 ------------- src/ui/new-call-box.ui | 3 --- src/ui/new-call-header-bar.ui | 2 -- 9 files changed, 59 deletions(-) diff --git a/src/ui/call-record-row.ui b/src/ui/call-record-row.ui index 29d73b5..15a28a1 100644 --- a/src/ui/call-record-row.ui +++ b/src/ui/call-record-row.ui @@ -4,7 +4,6 @@