Re: How to tell that control is available for gnome-2 but not for gnome-1



On 21 May 2002 hellan acm org wrote:

> Hi,
> 
> I just noticed that we have inadvertently broken Nautilus-1 support
> for Gnumeric.
> 
> The gnome-2 version of Gnumeric has a Bonobo control, but the gnome-1
> version doesn't.
> 
> Exhilirated over the new control, we registered 
> 	default_action_type=component
> for application/gnumeric in gnome-vfs.keys in gnome-mime-data.
> 
> Bad idea.
> 
> gnome-mime-data is shared between gnome-1 and gnome-2, so if I click a
> gnumeric spreadsheet in Nautilus 1, I get 'Nautilus has no viewer
> capable of displaying "/home/jk/timeliste.gnumeric"'.
> 
> What can we do instead?
> 
> We want to express the fact that there is a gnome-2 control capable of
> displaying gnumeric spreadsheets, but none for gnome-1.
> 
> For the gnome-1 case, we want Nautilus to fall back to using the
> application. 
> 
> Any suggestions?
> 
> What we want to happen is this:
> 
> bonobo-2 client (e.g. Nautilus) with gnome-2 Gnumeric installed:
>    Use control.
> 
> All other combinations:
>    Use application.


Ugh.
The whole sharing of mime-data between gnome 1 and gnome 2 may not have 
been a great idea. It is causing us problems with the html view component 
too.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a gun-slinging arachnophobic farmboy in a wheelchair. She's a 
transdimensional bisexual lawyer with an MBA from Harvard. They fight crime! 




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