Re: Help with .server file
- From: Alexander Larsson <alexl redhat com>
- To: Ryan Boder <icanoop bitwiser org>
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: Help with .server file
- Date: 20 Jan 2004 09:55:04 +0100
On Mon, 2004-01-19 at 18:45, Ryan Boder wrote:
> On Mon, Jan 19, 2004 at 11:34:32AM +0100, Alexander Larsson wrote:
> > Its in nautilus/docs/nautilus-context-menus.txt in cvs. Apparently its
> > not in the tarball... I'm adding it now.
>
> http://cvs.gnome.org/lxr/source/nautilus/docs/nautilus-context-menus.txt
>
> I looked at that file before and I don't understand how it answers my
> question. It doesn't say anything about how to make the menu item show up
> for regular files but not for directories.
>
> I am guessing that the bonobo:supported_uri_schemes attribute is how I can
> do this, but I can't find any documentation on what the values for that
> attribute can be.
>
> Right now I am using
>
> <oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
> <item value="file"/>
> </oaf_attribute>
>
> but my menu item is showing up for files and directories. Maybe that is a
> bug? But I don't know since there is no documentation of what other possible
> values can be for that attribute. The API manual basically says, "just put
> file".
file means all "file://" uris.
> Or maybe this should be done using bonobo:supported_mime_types? Do
> directories have a mime type?
Yeah, they are "x-directory/normal".
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a globe-trotting albino inventor with a winning smile and a way with the
ladies. She's a violent snooty safe cracker with an MBA from Harvard. They
fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]