From: David Seifert Date: Sat, 19 Oct 2019 09:53:49 +0000 (+0200) Subject: app-editors/sublime-text: Fix "open with" in Nautilus X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=562780c4124249f1b19a4522c22870a36da8c9d1;p=gentoo.git 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 --- 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() {