renamed and edited 'launch_phoenix' to reflect the browser's name change from 'phoeni...
authorPaul Mangan <paul@claws-mail.org>
Wed, 18 Jun 2003 08:03:26 +0000 (08:03 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 18 Jun 2003 08:03:26 +0000 (08:03 +0000)
ChangeLog.claws
tools/launch_firebird [moved from tools/launch_phoenix with 59% similarity]

index 007696d..01286d7 100644 (file)
@@ -1,3 +1,10 @@
+2003-06-18 [paul]
+
+       * tools/launch_phoenix          ** REMOVED **
+         tools/launch_firebird         ** NEW **
+               renamed and edited to reflect the browser's name change from
+               'phoenix' to 'firebird'
+
 2003-06-18 [paul]      0.9.0claws42
 
        * sync with 0.9.2cvs2
 2003-06-18 [paul]      0.9.0claws42
 
        * sync with 0.9.2cvs2
similarity index 59%
rename from tools/launch_phoenix
rename to tools/launch_firebird
index 01dec7f..5cae436 100644 (file)
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
 ############################################################################
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
 ############################################################################
-# Script Name: launch_phoenix
+# Script Name: launch_firebird
 # Author: Mohammed Sameer <Uniball@linux-egypt.org>
 # Author: Mohammed Sameer <Uniball@linux-egypt.org>
-# Script Version: 0.1
-# Script Purpose: Check for a running phoenix process and and open a new tab 
-#                 with a given URL or execute phoenix with that URL
-# Usage: preferences->other->web browser-> "launch_phoenix "%s""
+# Script Version: 0.2
+# Script Purpose: Check for a running firebird process and and open a new 
+#                tab with a given URL or execute firebird with that URL
+# Usage: preferences->other->web browser-> "launch_firebird "%s""
+############################################################################
+# Version 0.2, June 2003, Paul Mangan <claws@thewildbeast.co.uk>
+# Changes: renamed and edited to reflect the browser's name change from
+# 'phoenix' to 'firebird'.
 ############################################################################
 
 URL=$*
 ############################################################################
 
 URL=$*
+# name of binary (change it if necessary):
+FIREBIRD=mozilla-firebird
 
 
-phoenix_running()
+firebird_running()
 {
 {
-phoenix -remote "openurl($URL,new-tab)"
+$FIREBIRD -remote "openurl($URL,new-tab)"
 }
 }
-phoenix_new()
+firebird_new()
 {
 {
-phoenix $URL
+$FIREBIRD $URL
 }
 
 
 }
 
 
-STR=`phoenix -remote "ping()" 2>&1 | grep No`
+STR=`$FIREBIRD -remote "ping()" 2>&1 | grep No`
 #echo $STR
 if [[ "$STR" == "No running window found." ]]; then
 #echo $STR
 if [[ "$STR" == "No running window found." ]]; then
-phoenix_new;
+firebird_new;
 else
 else
-phoenix_running;
+firebird_running;
 fi
 
 fi