nautilus/data/org.gnome.Nautilus.desktop.in.in
Carlos Soriano a44b4996fa 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
2015-11-12 22:51:46 +01:00

23 lines
606 B
Plaintext

[Desktop Entry]
_Name=Files
_Comment=Access and organize files
_Keywords=folder;manager;explore;disk;filesystem;
Exec=nautilus --new-window %U
Icon=system-file-manager
Terminal=false
Type=Application
DBusActivatable=true
StartupNotify=true
Categories=GNOME;GTK;Utility;Core;FileManager;
MimeType=inode/directory;application/x-gnome-saved-search;
X-GNOME-Bugzilla-Bugzilla=GNOME
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