summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-10-19 11:53:49 +0200
committerDavid Seifert <soap@gentoo.org>2019-10-19 11:53:49 +0200
commit562780c4124249f1b19a4522c22870a36da8c9d1 (patch)
treee25b5a5445e7fc304781941f6e52a0782e161a30 /app-editors
parentsys-libs/glibc: add ~riscv for 2.30 and above (diff)
downloadgentoo-562780c4124249f1b19a4522c22870a36da8c9d1.tar.gz
gentoo-562780c4124249f1b19a4522c22870a36da8c9d1.tar.bz2
gentoo-562780c4124249f1b19a4522c22870a36da8c9d1.zip
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 <soap@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild (renamed from app-editors/sublime-text/sublime-text-3_p3211.ebuild)4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/sublime-text/sublime-text-3_p3211.ebuild b/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() {