summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSachin Daluja <30343-sachindaluja@users.noreply.gitlab.gnome.org>2021-01-24 11:54:59 -0500
committerSachin Daluja <30343-sachindaluja@users.noreply.gitlab.gnome.org>2021-02-06 10:43:51 -0500
commite96aac1f6526f5373405e071703b5f18b0c728d3 (patch)
treeaab2c135168c204226123334ee68a07f004e44c8 /data
parentd2e3decfa35a327a650630910617ad8442587ea7 (diff)
downloadnautilus-e96aac1f6526f5373405e071703b5f18b0c728d3.tar.gz
general: Remove option to bypass delete confirmation
A gsettings-based option "confirm-trash" existed to determine if a confirmation dialog should be shown when emptying the trash. This setting, enabled by default, was misappropriated for the unrelated "delete directly" operation of files outside Trash. This latter use of this setting was misleading and unexpected (more discussion on the linked issue page.) Remove option "confirm-trash" entirely because neither of the above mentioned operations are reversible, so they should always require confirmation. Add ellipsis to labels for the "empty trash" and "delete permanently" actions since they now always invoke a confirmation dialog. Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1699
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.nautilus.gschema.xml5
1 files changed, 0 insertions, 5 deletions
diff --git a/data/org.gnome.nautilus.gschema.xml b/data/org.gnome.nautilus.gschema.xml
index 7dd6bb2d8..b02c57814 100644
--- a/data/org.gnome.nautilus.gschema.xml
+++ b/data/org.gnome.nautilus.gschema.xml
@@ -109,11 +109,6 @@
<summary>Whether to show context menu items to create links from copied or selected files</summary>
<description>If set to true, then Nautilus will show context menu items to create links from the copied or selected files.</description>
</key>
- <key type="b" name="confirm-trash">
- <default>true</default>
- <summary>Whether to ask for confirmation when deleting files, or emptying the Trash</summary>
- <description>If set to true, then Nautilus will ask for confirmation when you attempt to delete files, or empty the Trash.</description>
- </key>
<key name="show-directory-item-counts" enum="org.gnome.nautilus.SpeedTradeoff">
<aliases><alias value='local_only' target='local-only'/></aliases>
<default>'local-only'</default>