Skip to content

Commit

Permalink
Rename New Window action to New Empty Window
Browse files Browse the repository at this point in the history
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 microsoft#36695
  • Loading branch information
Tyriar committed Oct 25, 2017
1 parent 2d16c71 commit 6339017
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions resources/linux/code.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -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@@

0 comments on commit 6339017

Please sign in to comment.