[gedit] add support for fd.o desktop action spec



commit 1721bf6d97fe01e73f24b5a320ef5166535a02c7
Author: Nathan Williams <nathan nathanewilliams com>
Date:   Mon Mar 5 07:56:44 2012 -0800

    add support for fd.o desktop action spec

 data/gedit.desktop.in.in |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/data/gedit.desktop.in.in b/data/gedit.desktop.in.in
index 9bb4bf6..8e3e64f 100644
--- a/data/gedit.desktop.in.in
+++ b/data/gedit.desktop.in.in
@@ -9,6 +9,18 @@ StartupNotify=true
 MimeType=text/plain;
 Icon=accessories-text-editor
 Categories=GNOME;GTK;Utility;TextEditor;
+Actions=Window;Document;
+
+[Desktop Action Window]
+_Name=Open a New Window
+Exec=gedit --new-window
+OnlyShowIn=Unity;
+
+[Desktop Action Document]
+_Name=Open a New Document
+Exec=gedit --new-window
+OnlyShowIn=Unity;
+
 X-GNOME-DocPath=gedit/gedit.xml
 _X-GNOME-FullName=gedit Text Editor
 X-GNOME-Bugzilla-Bugzilla=GNOME



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]