The attached patch changes SeaMonkey's desktop file so that it is marked as a handler for HTML (and other) file types, like Firefox is. This adds SeaMonkey as an option for opening HTML files in mime handler aware file managers.

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/seamonkey/Makefile,v
retrieving revision 1.35
diff -N -u Makefile
--- Makefile    3 May 2009 15:47:27 -0000       1.35
+++ Makefile    25 May 2009 01:14:35 -0000
@@ -7,7 +7,7 @@
 
 VER=           1.1.16
 DISTNAME=      seamonkey-${VER}.source
-PKGNAME=       seamonkey-${VER}p0
+PKGNAME=       seamonkey-${VER}p1
 
 SO_VERSION=    10.0
 # NOTE: Must bump minor version if any shlib's are removed from the
Index: files/seamonkey.desktop
===================================================================
RCS file: /cvs/ports/www/seamonkey/files/seamonkey.desktop,v
retrieving revision 1.2
diff -N -u files/seamonkey.desktop
--- files/seamonkey.desktop     24 Mar 2009 22:49:59 -0000      1.2
+++ files/seamonkey.desktop     25 May 2009 01:14:35 -0000
@@ -6,4 +6,5 @@
 Type=Application
 Icon=!!PREFIX!!/seamonkey/chrome/icons/default/seamonkey.png
 Categories=Application;Network;
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
 StartupNotify=True

Reply via email to