diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-28 17:26:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-29 09:03:29 +0200 |
commit | 635514553abdd830951d3ba91651c9f0b208360b (patch) | |
tree | fc8a6a5dd8775683beb6703e2d489bb20dd6225d /sw/uiconfig | |
parent | 84d5908189aa258c7d30485e5f40dcd25109257e (diff) |
Resolves: tdf#162659 toggle buttons have no "weight" property
so those extra columns don't make sense, they make sense if those
were text entries.
and add sensitive as a property we expect to see in tree/list-stores if
sensitivity or later properties are used.
Checking all the existing cases shows the only other cases like this are
where we've just used the -1 'col' arg to set all columns to the desired
sensitivity and previously shared a single sensitive property between
checkboxes and the main 'text' case.
Change-Id: I0b22fb93b935a06bfcda6f6a3169df0e24d8b9e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172546
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/optcaptionpage.ui | 5 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/optcompatpage.ui | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sw/uiconfig/swriter/ui/optcaptionpage.ui b/sw/uiconfig/swriter/ui/optcaptionpage.ui index 29dc5ec08c69..4577a33eeb06 100644 --- a/sw/uiconfig/swriter/ui/optcaptionpage.ui +++ b/sw/uiconfig/swriter/ui/optcaptionpage.ui @@ -18,6 +18,8 @@ <column type="gint"/> <!-- column-name sensitive1 --> <column type="gboolean"/> + <!-- column-name sensitive2 --> + <column type="gboolean"/> </columns> </object> <object class="GtkBox" id="OptCaptionPage"> @@ -612,6 +614,7 @@ <object class="GtkCellRendererToggle" id="cellrenderer2"/> <attributes> <attribute name="active">0</attribute> + <attribute name="sensitive">6</attribute> </attributes> </child> </object> @@ -625,7 +628,7 @@ <child> <object class="GtkCellRendererText" id="cellrenderer1"/> <attributes> - <attribute name="sensitive">6</attribute> + <attribute name="sensitive">7</attribute> <attribute name="text">1</attribute> </attributes> </child> diff --git a/sw/uiconfig/swriter/ui/optcompatpage.ui b/sw/uiconfig/swriter/ui/optcompatpage.ui index 4d55aa3195fc..4cbd6b66516f 100644 --- a/sw/uiconfig/swriter/ui/optcompatpage.ui +++ b/sw/uiconfig/swriter/ui/optcompatpage.ui @@ -18,6 +18,8 @@ <column type="gint"/> <!-- column-name sensitive1 --> <column type="gboolean"/> + <!-- column-name sensitive2 --> + <column type="gboolean"/> </columns> </object> <object class="GtkBox" id="OptCompatPage"> @@ -75,6 +77,7 @@ <attribute name="visible">3</attribute> <attribute name="active">0</attribute> <attribute name="inconsistent">4</attribute> + <attribute name="sensitive">7</attribute> </attributes> </child> </object> @@ -86,7 +89,7 @@ <child> <object class="GtkCellRendererText" id="cellrenderer4"/> <attributes> - <attribute name="sensitive">6</attribute> + <attribute name="sensitive">7</attribute> <attribute name="text">1</attribute> </attributes> </child> |