[Nautilus-list] Re: [GNOME VFS] Strange behaviour in gnome_vfs_mime_get_short_list_components

On Monday, July 16, 2001, at 08:49  AM, Frederic Crozat wrote:

I'm having very strange behaviour in
gnome_vfs_mime_get_short_list_components, when Nautilus queries for
text/html mime type (Darin, I think you remember my problem when I was
getting text-view instead of mozilla view.. Well, it is back on my test
computer and it seems to be a problem at gnome-vfs or oaf level..) :

gnome_vfs_mime_get_short_list_components is running the following oaf
query : bonobo:supported_mime_types.has_one(['text/html','text/*','*'])

with sort condition :

But oaf returns the following list :

And of course, Nautilus uses text_view instead of mozilla view :((

Is the query badly written or it is a bug in oaf ?

The queries you list above are missing some quote marks ending items in the list and starting new items. But they are otherwise fine.

I tested these queries (after fixing the quote marks) by using the oaf-run-query tool. The first parameter is the query and the second parameter is the sort condition. I tried both sort orders (text view first and content view first) and got the correct results in each case.

    -- Darin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]