Re: [PATCH] Show potential apps first on 'Open with...' dialog



On Thu, 2008-02-21 at 15:30 +0100, Luca Ferretti wrote:
> Il giorno gio, 21/02/2008 alle 14.44 +0100, Alexander Larsson ha
> scritto:
> > On Wed, 2008-02-20 at 18:58 +0100, Rodrigo Moya wrote:
> > > Hi
> > > 
> > > The openSUSE eel package had a patch that stopped applying with latest
> > > update to 2.21.x, to make eel-open-with-dialog show first the apps
> > > associated to the given mime type.
> > > 
> > > I've tried adapting the patch to Nautilus, but can't find why, it seems,
> > > g_app_info_get_all_for_type always returns NULL.
> > > 
> > > Find attached the patch and please let me know if this would acceptable
> > > (for 2.23.x of course, in which case I'll file a bug with the patch)
> > 
> > I don't get it. Aren't all those applications already listed in the open
> > with menu? They should be...
> > 
> 
> I think Rodrigo means that applications are simply sorted by name.
> 
> See for example .glade files. I've this list:
>   Epiphany
>   Firefox
>   Glade
>   Konqueror
> 
> This because .glade files are XML files and the browser are registered
> in mime db to manage .xml files.
> 
> Could be good have, instead, this list:
> 
>   Glade
>   -------
>   Epiphany  
>   Firefox
>   Konqueror
> 
> 'cause Glade is actually the application you want to use to open .glade
> files.

a screenshot would show it better:

http://rodrigo.gnome-db.org/images/screenshots/open-with-dialog.png

this is what the patch used to do, but now doesn't work.
-- 
Rodrigo Moya <rodrigo gnome-db org>
> 



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