summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2024-09-22 16:46:02 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-12-28 08:32:34 +0000
commit63a6681d4a31af0199594ab932b1be4f0da9a583 (patch)
tree6103af94a284791e8aaebd299b38c8fa72942cfa /app-editors
parentapp-editors/vscode: add liveshare optfeature (diff)
downloadgentoo-63a6681d4a31af0199594ab932b1be4f0da9a583.tar.gz
gentoo-63a6681d4a31af0199594ab932b1be4f0da9a583.tar.bz2
gentoo-63a6681d4a31af0199594ab932b1be4f0da9a583.zip
app-editors/vscode: desktop file fixups
Closes: https://bugs.gentoo.org/936915 Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vscode/files/code-url-handler.desktop3
-rw-r--r--app-editors/vscode/files/code.desktop13
2 files changed, 13 insertions, 3 deletions
diff --git a/app-editors/vscode/files/code-url-handler.desktop b/app-editors/vscode/files/code-url-handler.desktop
index fe65d7527069..b1c15dcf468b 100644
--- a/app-editors/vscode/files/code-url-handler.desktop
+++ b/app-editors/vscode/files/code-url-handler.desktop
@@ -2,11 +2,12 @@
Name=VSCode - URL Handler
Comment=Editing evolved
GenericName=Code Editor
-Exec=/usr/bin/vscode @exec_extra_flags@ --open-url %U
+Exec=/usr/bin/vscode @exec_extra_flags@ --open-url -- %U
Icon=vscode
Type=Application
NoDisplay=true
StartupNotify=true
+StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=x-scheme-handler/vscode;
Keywords=vscode;code;
diff --git a/app-editors/vscode/files/code.desktop b/app-editors/vscode/files/code.desktop
index 3d3766982e2c..cd885549f7d8 100644
--- a/app-editors/vscode/files/code.desktop
+++ b/app-editors/vscode/files/code.desktop
@@ -2,7 +2,7 @@
Name=VSCode
Comment=Editing evolved
GenericName=Code Editor
-Exec=/usr/bin/vscode @exec_extra_flags@ %F
+Exec=/usr/bin/vscode @exec_extra_flags@ -- %F
Icon=vscode
Type=Application
StartupNotify=false
@@ -14,5 +14,14 @@ Keywords=vscode;code;
[Desktop Action new-empty-window]
Name=New Empty Window
-Exec=/usr/bin/vscode @exec_extra_flags@ --new-window %F
+Name[de]=Neues leeres Fenster
+Name[es]=Nueva ventana vacía
+Name[fr]=Nouvelle fenêtre vide
+Name[it]=Nuova finestra vuota
+Name[ja]=新しい空のウィンドウ
+Name[ko]=새 빈 창
+Name[ru]=Новое пустое окно
+Name[zh_CN]=新建空窗口
+Name[zh_TW]=開新空視窗
+Exec=/usr/bin/vscode @exec_extra_flags@ --new-window
Icon=vscode