OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   05-Dec-2002 14:46:55
  Branch: HEAD                             Handle: 2002120513465400

  Modified files:
    openpkg-src/mozilla     mozilla.sh

  Log:
    at least support auto-loading homepage on initial startup

  Summary:
    Revision    Changes     Path
    1.4         +12 -3      openpkg-src/mozilla/mozilla.sh
  ____________________________________________________________________________

  Index: openpkg-src/mozilla/mozilla.sh
  ============================================================
  $ cvs diff -u -r1.3 -r1.4 mozilla.sh
  --- openpkg-src/mozilla/mozilla.sh    3 Dec 2002 19:26:28 -0000       1.3
  +++ openpkg-src/mozilla/mozilla.sh    5 Dec 2002 13:46:54 -0000       1.4
  @@ -134,8 +134,13 @@
       if [ ".$first" = .yes -a ".$restart" = .yes ]; then
           #   handling of first URL if restarting is necessary
           verbose "running new process"
  -        verbose "exec: $mozilla_bin \"$url\" >/dev/null 2>&1 &"
  -        $mozilla_bin "$url" >/dev/null 2>&1 &
  +        if [ ".$url" = ".about:blank" ]; then
  +            verbose "exec: $mozilla_bin >/dev/null 2>&1 &"
  +            $mozilla_bin >/dev/null 2>&1 &
  +        else
  +            verbose "exec: $mozilla_bin \"$url\" >/dev/null 2>&1 &"
  +            $mozilla_bin "$url" >/dev/null 2>&1 &
  +        fi
       else
           #   delayed waiting for process to be finally remotely available
           #   if it was started from scratch for the handling of the first
  @@ -157,7 +162,11 @@
   
           #   determine remote command
           if [ ".$opt_w" = .yes ]; then
  -            cmd="openURL($url, new-window)"
  +            if [ ".$url" = ".about:blank" ]; then
  +                cmd="xfeDoCommand(openBrowser)"
  +            else
  +                cmd="openURL($url, new-window)"
  +            fi
           elif [ ".$opt_t" = .yes ]; then
               cmd="openURL($url, new-tab)"
           else
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to