summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-28 17:26:22 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-29 09:03:29 +0200
commit635514553abdd830951d3ba91651c9f0b208360b (patch)
treefc8a6a5dd8775683beb6703e2d489bb20dd6225d /cui
parent84d5908189aa258c7d30485e5f40dcd25109257e (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 'cui')
-rw-r--r--cui/uiconfig/ui/optfltrembedpage.ui10
-rw-r--r--cui/uiconfig/ui/optlingupage.ui4
2 files changed, 6 insertions, 8 deletions
diff --git a/cui/uiconfig/ui/optfltrembedpage.ui b/cui/uiconfig/ui/optfltrembedpage.ui
index 899825752e99..9bdff46c1491 100644
--- a/cui/uiconfig/ui/optfltrembedpage.ui
+++ b/cui/uiconfig/ui/optfltrembedpage.ui
@@ -28,10 +28,6 @@
<column type="gboolean"/>
<!-- column-name weight1 -->
<column type="gint"/>
- <!-- column-name weight2 -->
- <column type="gint"/>
- <!-- column-name weight3 -->
- <column type="gint"/>
<!-- column-name sensitive1 -->
<column type="gboolean"/>
<!-- column-name sensitive2 -->
@@ -96,7 +92,7 @@
<child>
<object class="GtkCellRendererToggle" id="cellrenderer5"/>
<attributes>
- <attribute name="sensitive">14</attribute>
+ <attribute name="sensitive">12</attribute>
<attribute name="visible">5</attribute>
<attribute name="active">0</attribute>
</attributes>
@@ -104,7 +100,7 @@
<child>
<object class="GtkCellRendererToggle" id="cellrenderer8"/>
<attributes>
- <attribute name="sensitive">15</attribute>
+ <attribute name="sensitive">13</attribute>
<attribute name="visible">6</attribute>
<attribute name="active">1</attribute>
</attributes>
@@ -120,7 +116,7 @@
<child>
<object class="GtkCellRendererToggle" id="cellrenderer7"/>
<attributes>
- <attribute name="sensitive">16</attribute>
+ <attribute name="sensitive">14</attribute>
<attribute name="visible">7</attribute>
<attribute name="active">2</attribute>
</attributes>
diff --git a/cui/uiconfig/ui/optlingupage.ui b/cui/uiconfig/ui/optlingupage.ui
index ad8ee3da1ca7..e1b1868e0f90 100644
--- a/cui/uiconfig/ui/optlingupage.ui
+++ b/cui/uiconfig/ui/optlingupage.ui
@@ -46,6 +46,8 @@
<column type="gint"/>
<!-- column-name sensitive1 -->
<column type="gboolean"/>
+ <!-- column-name sensitive2 -->
+ <column type="gboolean"/>
</columns>
</object>
<!-- n-columns=1 n-rows=3 -->
@@ -416,7 +418,7 @@
<child>
<object class="GtkCellRendererText" id="cellrenderer444"/>
<attributes>
- <attribute name="sensitive">6</attribute>
+ <attribute name="sensitive">7</attribute>
<attribute name="text">1</attribute>
</attributes>
</child>