summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-28 17:26:22 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2024-08-31 04:02:00 +0200
commit3e5792b122100ec0977435e3fb603c5cea8bbf81 (patch)
tree710798f85fab37407888fe5b7d1824149137bcf4 /cui
parentcb778e1c693ba47616f016b42e0fe8fe8597f82e (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/+/172567 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
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>