summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRazvan Chitu <razvan.ch95@gmail.com>2015-12-22 14:56:20 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-12-22 15:40:09 +0100
commit0eef08686f520caf3700bff4f9b371fa780dba88 (patch)
tree832aa90591634e1e86bfbb15b914d41c4ca6b8b8 /data
parent1c6e94d38995a37727b17da14fd3dbc2edca6163 (diff)
downloadnautilus-0eef08686f520caf3700bff4f9b371fa780dba88.tar.gz
files-view: add optional menu item for creating links
The menu item for creating links was removed in previous versions of nautilus since it exposes a concept of the file system that is not really clear. However, we don't have a working solution yet for the use cases that creating links is a workaround, so we didn't remove the functionality altogether. We were allowing link creation with a shortcut and with the middle button while performing a drag and drop operation. However, some users would need to use a context menu action instead of a drag and drop operation, which usually is less convenient and prone to errors. Since this is demanded, implement the menu action for it and add a gsetting preference to show it in the context menu for those users who like to have it there. Also the new implementation uses the code that is already used for other operations, improving the implementation compared to the previous one. In an upcoming patch we add the UI for the preference dialog. https://bugzilla.gnome.org/show_bug.cgi?id=745575
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.nautilus.gschema.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/org.gnome.nautilus.gschema.xml b/data/org.gnome.nautilus.gschema.xml
index 9aece594f..bf03e0308 100644
--- a/data/org.gnome.nautilus.gschema.xml
+++ b/data/org.gnome.nautilus.gschema.xml
@@ -81,6 +81,11 @@
<summary>Whether to show a context menu item to delete permanently</summary>
<description>If set to true Nautilus will show a delete permanently context menu item to bypass the trash.</description>
</key>
+ <key type="b" name="show-create-link">
+ <default>false</default>
+ <summary>Whether to show a context menu item to create links from copied files</summary>
+ <description>If set to true Nautilus will show a create link context menu item to create links from the copied files</description>
+ </key>
<key type="b" name="confirm-trash">
<default>true</default>
<summary>Whether to ask for confirmation when deleting files, or emptying Trash</summary>