diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 16:19:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-07 08:14:42 +0200 |
commit | 3d056824c687df567c05bf31554fa40ea2baef18 (patch) | |
tree | 45b9617119cc57542f441de6f4d9eaf20f5041ef /cui | |
parent | a927e0964ba0442d53fffb22c577e54bcf183ed7 (diff) |
Revert "lint-ui: check that we only have one has_default==True"
This reverts commit c9e3952e76a9c06d5a1d2f583829ce9eb5b9df64.
Reason for revert: Some of the code manipulates visibility programmatically, and it is quite fine to has more than one has_default if only one of them is visible at a time.
Change-Id: Ia4f565c7d21d232d3038c3489952782c8e2a7be5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103977
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/uiconfig/ui/certdialog.ui | 1 | ||||
-rw-r--r-- | cui/uiconfig/ui/macroselectordialog.ui | 1 | ||||
-rw-r--r-- | cui/uiconfig/ui/specialcharacters.ui | 1 | ||||
-rw-r--r-- | cui/uiconfig/ui/tsaurldialog.ui | 2 |
4 files changed, 5 insertions, 0 deletions
diff --git a/cui/uiconfig/ui/certdialog.ui b/cui/uiconfig/ui/certdialog.ui index 0794e6278c4b..39d84c5df216 100644 --- a/cui/uiconfig/ui/certdialog.ui +++ b/cui/uiconfig/ui/certdialog.ui @@ -41,6 +41,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> <child internal-child="accessible"> diff --git a/cui/uiconfig/ui/macroselectordialog.ui b/cui/uiconfig/ui/macroselectordialog.ui index d9757531fd3e..ea485c283a37 100644 --- a/cui/uiconfig/ui/macroselectordialog.ui +++ b/cui/uiconfig/ui/macroselectordialog.ui @@ -42,6 +42,7 @@ <property name="label" translatable="yes" context="macroselectordialog|add">Add</property> <property name="can_focus">True</property> <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> <property name="no_show_all">True</property> </object> diff --git a/cui/uiconfig/ui/specialcharacters.ui b/cui/uiconfig/ui/specialcharacters.ui index 684031a9fe53..9e8e5323828c 100644 --- a/cui/uiconfig/ui/specialcharacters.ui +++ b/cui/uiconfig/ui/specialcharacters.ui @@ -24,6 +24,7 @@ <property name="label" translatable="yes" context="specialcharacters|insert">_Insert</property> <property name="can_focus">True</property> <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> </object> diff --git a/cui/uiconfig/ui/tsaurldialog.ui b/cui/uiconfig/ui/tsaurldialog.ui index 6bcceb4bfeeb..3d005f3faa22 100644 --- a/cui/uiconfig/ui/tsaurldialog.ui +++ b/cui/uiconfig/ui/tsaurldialog.ui @@ -51,6 +51,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> @@ -67,6 +68,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> </object> |