From 562780c4124249f1b19a4522c22870a36da8c9d1 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 19 Oct 2019 11:53:49 +0200 Subject: [PATCH] app-editors/sublime-text: Fix "open with" in Nautilus Closes: https://bugs.gentoo.org/698016 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- ...ime-text-3_p3211.ebuild => sublime-text-3_p3211-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename app-editors/sublime-text/{sublime-text-3_p3211.ebuild => sublime-text-3_p3211-r1.ebuild} (91%) diff --git a/app-editors/sublime-text/sublime-text-3_p3211.ebuild b/app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild similarity index 91% rename from app-editors/sublime-text/sublime-text-3_p3211.ebuild rename to app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild index d059f42e93d5..0ac62feeeccc 100644 --- a/app-editors/sublime-text/sublime-text-3_p3211.ebuild +++ b/app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild @@ -48,11 +48,11 @@ src_install() { /usr/share/icons/hicolor/${size}x${size}/apps/subl.png done - make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \ + make_desktop_entry "subl %F" "Sublime Text ${MV}" subl \ "TextEditor;IDE;Development" "StartupNotify=true" # needed to get WM_CLASS lookup right - mv "${ED}"/usr/share/applications/subl{-sublime-text,}.desktop || die + mv "${ED}"/usr/share/applications/subl{_%F-sublime-text,}.desktop || die } pkg_postrm() { -- 2.26.2