Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2003 16:29:26 +0900 (JST)
From:      Alexander Nedotsukov <bland@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        marcus@FreeBSD.org
Subject:   ports/55412: add new cli options for mozilla startup script
Message-ID:  <200308090729.h797TQ4L001335@bbnest.dyndns.org>
Resent-Message-ID: <200308090730.h797UFF4095017@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55412
>Category:       ports
>Synopsis:       add new cli options for mozilla startup script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 09 00:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Nedotsukov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bbnest.dyndns.org 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Sat Aug 9 13:03:25 JST 2003 bland@bbnest.dyndns.org:/usr/obj/usr/src/sys/SU i386


	
>Description:
This two new cli options -browser and -compose will make mozilla startup script
more convinient for creating desktop launchers. The original idea of this options
was taken from mozilla/win32 distribution.
	
>How-To-Repeat:
	
>Fix:
Apply the patch attached
	

--- mozilla.sh.patch begins here ---
--- files/mozilla.sh.orig	Fri Aug  8 17:41:56 2003
+++ files/mozilla.sh	Sat Aug  9 16:03:30 2003
@@ -7,8 +7,14 @@
 cd $MOZILLA_DIR                                     || exit 1
 
 case $1 in
+    -browser)
+    	REMOTE_COMMAND="xfeDoCommand (openBrowser)"
+	;;
     -mail)
     	REMOTE_COMMAND="xfeDoCommand (openInbox)"
+	;;
+    -compose)
+    	REMOTE_COMMAND="xfeDoCommand (composeMessage)"
 	;;
     -*)
     	exec ./$MOZILLA_EXEC "$@"
--- mozilla.sh.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308090729.h797TQ4L001335>