From owner-freebsd-questions Fri Apr 26 11:59: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gyros.marcuscom.com (dhcp-64-102-60-52.cisco.com [64.102.60.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B96F37B419; Fri, 26 Apr 2002 11:58:55 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.3/8.12.3) with ESMTP id g3QIwd9C071890; Fri, 26 Apr 2002 14:58:39 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: Galeon 1.2.1 problems From: Joe Marcus Clarke To: User Witr Cc: questions@FreeBSD.ORG, sobomax@FreeBSD.ORG In-Reply-To: <20020425122756.ABF4C326A@ns1.rwwa.com> References: <20020425122756.ABF4C326A@ns1.rwwa.com> Content-Type: multipart/mixed; boundary="=-LC7o8gaHMj1O9kSej9x0" X-Mailer: Ximian Evolution 1.0.3 Date: 26 Apr 2002 15:58:39 -0300 Message-Id: <1019847519.312.82.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-LC7o8gaHMj1O9kSej9x0 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2002-04-25 at 09:27, User Witr wrote: > I just installed the galeon 1.2.1 port and I have two problems: > > 1 The "Help" / "Galeon manual" selection attempts to fetch the manual from > somewhere in my home directory instead of the installed location. Whoops. Now the patch is attached. Joe > > 2 Cookies aren't persistent. I can see the cookies in the > "Tools" / "Cookies" / "View cookies" dialog, but when I exit > galeon and restart it they are gone. > > Any ideas on how to fix these two problems? > > > --------------------------------------------------------------------- > Robert Withrow, R.W. Withrow Associates, Swampscott MA, witr@rwwa.COM > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- PGP Key: http://www.marcuscom.com/pgp.asc --=-LC7o8gaHMj1O9kSej9x0 Content-Disposition: attachment; filename=patch-src_main.c Content-Transfer-Encoding: quoted-printable Content-Type: text/x-c; name=patch-src_main.c; charset=ISO8859-1 --- src/main.c.orig Fri Apr 26 14:29:08 2002 +++ src/main.c Fri Apr 26 14:52:43 2002 @@ -394,7 +394,12 @@ for (i =3D 0; i < n; i++) { /* try to expand as files */ - if (realpath (args[i], buffer) !=3D NULL) + if (!strnstr(args[i], "ghelp:", strlen("ghelp:")) && + !strnstr(args[i], "toc:", strlen("toc:")) && + !strnstr(args[i], "info:", strlen("info:")) && + !strnstr(args[i], "main:", strlen("man:")) && + !strnstr(args[i], "gnome-help:", strlen("gnome-help")) && + realpath (args[i], buffer) !=3D NULL) { (*urls)[i] =3D g_strconcat ("file://", buffer, NULL); } --=-LC7o8gaHMj1O9kSej9x0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message