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
This commit is contained in:
Carlos Soriano 2015-10-19 22:09:18 +02:00
parent b277862fa3
commit a44b4996fa

View file

@ -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