Rename New Window action to New Empty Window

New versions of Gnome name the default action as New Window, this breaks
workspace restoring under Ubuntu 17.10 and presumably other distros on the
same verison of Gnome as well.

Fixes #36695
This commit is contained in:
Daniel Imms 2017-10-25 10:23:55 -07:00
parent 2d16c71bb7
commit 633901769a

View file

@ -9,19 +9,10 @@ StartupNotify=true
StartupWMClass=@@NAME_SHORT@@
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;
Actions=new-window;
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-window]
Name=New Window
Name[de]=Neues Fenster
Name[es]=Nueva ventana
Name[fr]=Nouvelle fenêtre
Name[it]=Nuova finestra
Name[ja]=
Name[ko]=
Name[ru]=Новое окно
Name[zh_CN]=
Name[zh_TW]=
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/share/@@NAME@@/@@NAME@@ --new-window %F
Icon=@@NAME@@