summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-07-16 15:44:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-07-16 18:08:28 +0200
commita36447215fa13f3ca92b22ac63e8164859ddb8ef (patch)
treedf3b70fbf65504ca478be1e12885384f3cdcd983
parentceb32f59d96a17c3007ed883fb44bc880673c8e0 (diff)
Related: tdf#143357 explicitly set the default of focus-on-click
this should already be the default according to https://developer.gnome.org/gtk3/stable/GtkWidget.html but it's apparently False nevertheless, so make it explicit here for these widgets where there is a focus watcher to commit their changes and the absence of this is non-cosmetic. Just these initially for a small backportable change. Change-Id: I96442b4e844ce0446f56276c1b648ca5ce57b740 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119077 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--extensions/uiconfig/spropctrlr/ui/colorlistbox.ui1
-rw-r--r--extensions/uiconfig/spropctrlr/ui/datefield.ui1
-rw-r--r--extensions/uiconfig/spropctrlr/ui/datetimefield.ui1
3 files changed, 3 insertions, 0 deletions
diff --git a/extensions/uiconfig/spropctrlr/ui/colorlistbox.ui b/extensions/uiconfig/spropctrlr/ui/colorlistbox.ui
index 7361e0d11947..40ae63eac62a 100644
--- a/extensions/uiconfig/spropctrlr/ui/colorlistbox.ui
+++ b/extensions/uiconfig/spropctrlr/ui/colorlistbox.ui
@@ -5,6 +5,7 @@
<object class="GtkMenuButton" id="colorlistbox">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="focus-on-click">True</property>
<property name="receives_default">True</property>
<property name="hexpand">True</property>
<property name="draw_indicator">True</property>
diff --git a/extensions/uiconfig/spropctrlr/ui/datefield.ui b/extensions/uiconfig/spropctrlr/ui/datefield.ui
index 6ca77af072ee..e064f618bfd5 100644
--- a/extensions/uiconfig/spropctrlr/ui/datefield.ui
+++ b/extensions/uiconfig/spropctrlr/ui/datefield.ui
@@ -5,6 +5,7 @@
<object class="GtkMenuButton" id="datefield">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="focus-on-click">True</property>
<property name="receives_default">False</property>
<property name="hexpand">True</property>
<property name="draw_indicator">True</property>
diff --git a/extensions/uiconfig/spropctrlr/ui/datetimefield.ui b/extensions/uiconfig/spropctrlr/ui/datetimefield.ui
index aed958450b1e..f736a8e63221 100644
--- a/extensions/uiconfig/spropctrlr/ui/datetimefield.ui
+++ b/extensions/uiconfig/spropctrlr/ui/datetimefield.ui
@@ -16,6 +16,7 @@
<object class="GtkMenuButton" id="datefield">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="focus-on-click">True</property>
<property name="receives_default">False</property>
<property name="hexpand">True</property>
<property name="draw_indicator">True</property>