[Nautilus-list] Strange behaviour in gnome_vfs_mime_get_short_list_components



Hi,

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/*','*'])
AND
has(['OAFIID:nautilus_mozilla_content_view:1ee70717-57bf-4079-aae5-922abdd576b1,
OAFIID:ntl_web_browser:0ce1a736-c939-4ac7-b12c-19d72bf1510b,
OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437'],iid)

with sort condition :
prefer_by_list_order(iid,['OAFIID:nautilus_mozilla_content_view:1ee70717-57bf-4079-aae5-922abdd576b1,
OAFIID:ntl_web_browser:0ce1a736-c939-4ac7-b12c-19d72bf1510b,
OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437'])

But oaf returns the following list :
OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437
OAFIID:nautilus_mozilla_content_view:1ee70717-57bf-4079-aae5-922abdd576b1

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

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






-- 
Frédéric Crozat
MandrakeSoft





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