From: Svjatoslav Agejenko Date: Wed, 19 Jun 2013 15:14:37 +0000 (+0300) Subject: added possibility to run *.desktop files X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=f39ddbbd657e0e26109fa66e9850a6ea60f59ecc;p=instantlauncher.git added possibility to run *.desktop files --- diff --git a/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java b/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java index bb08388..ac0d738 100755 --- a/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java +++ b/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java @@ -90,6 +90,8 @@ public class FileAssociationManager { extensionToApplication.put("docx", new String[] { DOCUMENT_EDITOR, FILE_INDICATOR }); extensionToApplication.put("doc", new String[] { DOCUMENT_EDITOR, FILE_INDICATOR }); + extensionToApplication.put("desktop", new String[] { "run-desktop", FILE_INDICATOR }); + } }