summaryrefslogtreecommitdiff
path: root/sc/uiconfig/scalc/ui/scgeneralpage.ui
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2024-09-11 17:43:58 +0200
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2024-09-14 12:08:26 +0200
commitdbd851c35720ac6f0ebea8a212fa54e79259e36c (patch)
tree5eaa6d744c12067383a3bbc7fd214e1468cf79b0 /sc/uiconfig/scalc/ui/scgeneralpage.ui
parent6227476c81a4f2e53259d7ff32fd4cd9e81ee6b5 (diff)
Resolves tdf#33714 - Option to disable "only active sheet"
Based on work by Martin van Zijl in I5f5b65b132d91beb24aa6e9282390dead235d849 Change-Id: Ie4543a2fc4b52715b5d87783a57e982c20274114 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173220 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc/uiconfig/scalc/ui/scgeneralpage.ui')
-rw-r--r--sc/uiconfig/scalc/ui/scgeneralpage.ui35
1 files changed, 34 insertions, 1 deletions
diff --git a/sc/uiconfig/scalc/ui/scgeneralpage.ui b/sc/uiconfig/scalc/ui/scgeneralpage.ui
index 202fbb85db2d..c6ad9577b457 100644
--- a/sc/uiconfig/scalc/ui/scgeneralpage.ui
+++ b/sc/uiconfig/scalc/ui/scgeneralpage.ui
@@ -262,7 +262,7 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
- <!-- n-columns=3 n-rows=9 -->
+ <!-- n-columns=3 n-rows=10 -->
<object class="GtkGrid" id="grid3">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -574,6 +574,39 @@
<property name="top-attach">8</property>
</packing>
</child>
+ <child>
+ <object class="GtkImage" id="lockwarnactivesheet">
+ <property name="can-focus">False</property>
+ <property name="no-show-all">True</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="icon-name">res/lock.png</property>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">9</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="warnactivesheet_cb">
+ <property name="label" translatable="yes" context="scgeneralpage|warnactivesheet_cb">Warn when saving only the active sheet</property>
+ <property name="visible">True</property>
+ <property name="can-focus">True</property>
+ <property name="receives-default">False</property>
+ <property name="use-underline">True</property>
+ <property name="draw-indicator">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="warnactivesheet_cb-atkobject">
+ <property name="AtkObject::accessible-description" translatable="yes" context="extended_tip|legacy_cell_selection_cb">Specifies whether a warning box informs when saving was applied to only the active sheet.</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left-attach">1</property>
+ <property name="top-attach">9</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
</object>
</child>
</object>