Add "new window" action to code.desktop

In Gnome and Unity desktop (and maybe some others) this can be used to open a new Code window through right click on the launcher icon and then on "New Window".
This commit is contained in:
Xaver Hellauer 2016-04-04 17:59:09 +02:00
parent a420458324
commit 5852199686

View file

@ -6,5 +6,13 @@ Exec=/usr/bin/@@NAME@@ %U
Icon=@@NAME@@
Type=Application
StartupNotify=true
StartupWMClass=@@NAME@@
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;
MimeType=text/plain;
Actions=new-window;
[Desktop Action new-window]
Name=New Window
Name[de]=Neues Fenster
Exec=/usr/bin/@@NAME@@ --new-window %U
Icon=@@NAME@@