[nautilus] desktop file: specify new window action
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] desktop file: specify new window action
- Date: Thu, 12 Nov 2015 21:57:58 +0000 (UTC)
commit a44b4996fa175c09d0d0d5ae8e340f4360f7f09d
Author: Carlos Soriano <csoriano gnome org>
Date: Mon Oct 19 22:09:18 2015 +0200
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
data/org.gnome.Nautilus.desktop.in.in | 5 +++++
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 013eb99..770b2ed 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]