From owner-freebsd-gnome@FreeBSD.ORG Sat Dec 4 19:53:50 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D42116A4CE for ; Sat, 4 Dec 2004 19:53:50 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA11643D48 for ; Sat, 4 Dec 2004 19:53:49 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) iB4JsLYG096450; Sat, 4 Dec 2004 14:54:21 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Sean McNeil In-Reply-To: <1102189882.86085.13.camel@server.mcneil.com> References: <1102184807.11782.7.camel@server.mcneil.com> <1102187391.75259.3.camel@shumai.marcuscom.com> <1102189882.86085.13.camel@server.mcneil.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-iMyVTtt9a9wYIiLThGdd" Organization: MarcusCom, Inc. Date: Sat, 04 Dec 2004 14:53:17 -0500 Message-Id: <1102189997.75259.19.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: FreeBSD GNOME Users Subject: Re: Request assistance in finding "Write to CD" context menu item X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 19:53:50 -0000 --=-iMyVTtt9a9wYIiLThGdd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-12-04 at 11:51 -0800, Sean McNeil wrote: > On Sat, 2004-12-04 at 14:09 -0500, Joe Marcus Clarke wrote: > > On Sat, 2004-12-04 at 10:26 -0800, Sean McNeil wrote: > > > I have looked at the sources of nautilus2 and nautilus-cd-burner and = I > > > just cannot find it. There are internationalization strings in both = and > > > the burner Changelog mentions context-menu.c but that file doesn't > > > exist. nautilus2 also mentions it as being in src/nautilus-shell-ui.= xml > > > but there is nothing in there either. > > >=20 > > > The odd thing is that I can see it in the menu for a split second whe= n I > > > right-click on an ISO image, so I know it is in there somewhere. I j= ust > > > don't know where. Any pointers to where this code is would be > > > appreciated. It is broken on amd64 (at least for me) and I would lik= e > > > to come up with a patch. > >=20 > > If you mean, "Write to Disc," that code is in nautilus-cd-burner. All > > the code is in burn-extension.c. > >=20 > > If there is a "Write to CD" context menu, it might have been installed > > as part of a different port. >=20 > Thanks Joe, >=20 > Yes it was "Write to Disc". There are some old messages in there for > "Write to CD". I guess they changed it to make more sense with DVDs and > I didn't pay close enough attention to what I saw in the menu for that > split second. >=20 > I found the code and this is what I think is wrong: >=20 > When I click on the file it says that the filename indicates it is a > "raw CD image" but the contents indicate "application/x-arc". So it is > a mime-type issue. The burner code only allows for > "application/x-iso-image" and "application/x-cd-image". I can actually > open it as an archive via. 'Open with "Archive Manager"' so it would be > great to keep that functioning. I guess when I select the item it digs > into the contents and then changes the mime-type to "application/x-arc" > where it ends up removing the burn option. >=20 > So now the question is where should I look for mime-type lookup so I can > determine why it isn't coming out as "application/x-iso-image"? This > looks like pretty complicated code and I got stuck tracking it down > through eel2 where it looks like it was only looking at the uri part > before the ":". Must have got lost :( Most likely, you need to promote the x-iso-image type ahead of the other type in the MIME database in either /usr/X11R6/share/mime or /usr/local/share/mime. Joe >=20 > Sean >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-iMyVTtt9a9wYIiLThGdd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBshWtb2iPiv4Uz4cRAuPYAKCNq1UyM+mT1Y9EWnqHHiM0J23sIQCfVQBr Du4JGr63xBptBeKPUxNSGqo= =2rgL -----END PGP SIGNATURE----- --=-iMyVTtt9a9wYIiLThGdd--