summaryrefslogtreecommitdiff
path: root/editors/linux-sublime3/files/patch-sublime_text.desktop
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-29 17:48:19 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-29 17:48:19 +0000
commit5dc918f30b10935e83fc4db228c4dcd7ad75412d (patch)
tree471a9245f701d9f16584b09376b18dc99f85e072 /editors/linux-sublime3/files/patch-sublime_text.desktop
parent- Move dns/py-dns3 to dns/py-py3dns (diff)
- Rename editors/sublime3 to editors/linux-sublime3 and add PKGNAMESUFFIX
- Bring port directory and package names in sync - Resolve PKGBASE conflict with editors/linux-sublime PR: 205694 Approved by: portmgr blanket (due to PKGBASE conflict)
Notes
Notes: svn path=/head/; revision=404769
Diffstat (limited to 'editors/linux-sublime3/files/patch-sublime_text.desktop')
-rw-r--r--editors/linux-sublime3/files/patch-sublime_text.desktop24
1 files changed, 24 insertions, 0 deletions
diff --git a/editors/linux-sublime3/files/patch-sublime_text.desktop b/editors/linux-sublime3/files/patch-sublime_text.desktop
new file mode 100644
index 000000000000..0814f17c9381
--- /dev/null
+++ b/editors/linux-sublime3/files/patch-sublime_text.desktop
@@ -0,0 +1,24 @@
+--- sublime_text.desktop.orig 2015-03-26 07:23:04 UTC
++++ sublime_text.desktop
+@@ -4,20 +4,9 @@ Type=Application
+ Name=Sublime Text
+ GenericName=Text Editor
+ Comment=Sophisticated text editor for code, markup and prose
+-Exec=/opt/sublime_text/sublime_text %F
++Exec=sublime %F
+ Terminal=false
+ MimeType=text/plain;
+ Icon=sublime-text
+ Categories=TextEditor;Development;
+ StartupNotify=true
+-Actions=Window;Document;
+-
+-[Desktop Action Window]
+-Name=New Window
+-Exec=/opt/sublime_text/sublime_text -n
+-OnlyShowIn=Unity;
+-
+-[Desktop Action Document]
+-Name=New File
+-Exec=/opt/sublime_text/sublime_text --command new_file
+-OnlyShowIn=Unity;