summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-10-19 22:09:18 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-11-12 22:51:46 +0100
commita44b4996fa175c09d0d0d5ae8e340f4360f7f09d (patch)
tree30a79fa7b0f0331f44f47264446f81573f82e146
parentb277862fa3fc164288d66a355dd2903b0bd70fbb (diff)
downloadnautilus-a44b4996fa175c09d0d0d5ae8e340f4360f7f09d.tar.gz
desktop file: specify new window action
So Gnome Shell is aware of it and can activate it. Until now Gnome Shell was guessing it was able to open a new window given the app.new-window action. However, what Gnome Shell does in this case is just call activate of the application, which is not the "new-window" action for nautilus, and instead only presents the current window. One can argue that Gnome Shell should not try to guess the available actions to, after that, instead of using them, just activate the application. https://bugzilla.gnome.org/show_bug.cgi?id=756370
-rw-r--r--data/org.gnome.Nautilus.desktop.in.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/org.gnome.Nautilus.desktop.in.in b/data/org.gnome.Nautilus.desktop.in.in
index 013eb9916..770b2ed83 100644
--- a/data/org.gnome.Nautilus.desktop.in.in
+++ b/data/org.gnome.Nautilus.desktop.in.in
@@ -15,3 +15,8 @@ X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-UsesNotifications=true
+Actions=new-window;
+
+[Desktop Action new-window]
+_Name=New Window
+Exec=nautilus --new-window