summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-09-10 18:45:39 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-09-11 00:35:29 +0200
commitb573ce5683ee648ed391ea3223208e584cf2f868 (patch)
tree86772c4cc20e853a01e6fad338a800650b64dc01
parentAllow multiple selection in AutoComplete word list (diff)
downloadcore-b573ce5683ee648ed391ea3223208e584cf2f868.tar.gz
core-b573ce5683ee648ed391ea3223208e584cf2f868.zip
Drop unused multiple selection from UI files
The code must call set_selection_mode(SelectionMode::Multiple) instead. Change-Id: I2d51dd3d3182ccec25f2ec1093a3866880354371 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121915 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
-rw-r--r--cui/uiconfig/ui/galleryfilespage.ui4
-rw-r--r--sd/uiconfig/simpress/ui/definecustomslideshow.ui4
-rw-r--r--sfx2/uiconfig/ui/templatedlg.ui4
3 files changed, 3 insertions, 9 deletions
diff --git a/cui/uiconfig/ui/galleryfilespage.ui b/cui/uiconfig/ui/galleryfilespage.ui
index 08829ac1df8a..559037348301 100644
--- a/cui/uiconfig/ui/galleryfilespage.ui
+++ b/cui/uiconfig/ui/galleryfilespage.ui
@@ -97,9 +97,7 @@
<property name="search_column">0</property>
<property name="show_expanders">False</property>
<child internal-child="selection">
- <object class="GtkTreeSelection" id="treeview-selection1">
- <property name="mode">multiple</property>
- </object>
+ <object class="GtkTreeSelection" id="treeview-selection1"/>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
diff --git a/sd/uiconfig/simpress/ui/definecustomslideshow.ui b/sd/uiconfig/simpress/ui/definecustomslideshow.ui
index 030f57a02689..fd35ce574762 100644
--- a/sd/uiconfig/simpress/ui/definecustomslideshow.ui
+++ b/sd/uiconfig/simpress/ui/definecustomslideshow.ui
@@ -198,9 +198,7 @@
<property name="search_column">0</property>
<property name="show_expanders">False</property>
<child internal-child="selection">
- <object class="GtkTreeSelection" id="treeview-selection1">
- <property name="mode">multiple</property>
- </object>
+ <object class="GtkTreeSelection" id="treeview-selection1"/>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
diff --git a/sfx2/uiconfig/ui/templatedlg.ui b/sfx2/uiconfig/ui/templatedlg.ui
index 45ab9791bfb3..013eacb2a467 100644
--- a/sfx2/uiconfig/ui/templatedlg.ui
+++ b/sfx2/uiconfig/ui/templatedlg.ui
@@ -338,9 +338,7 @@
<property name="search-column">0</property>
<property name="show-expanders">False</property>
<child internal-child="selection">
- <object class="GtkTreeSelection">
- <property name="mode">multiple</property>
- </object>
+ <object class="GtkTreeSelection" id="treeview-selection1"/>
</child>
<child>
<object class="GtkTreeViewColumn">