Re: Moving "Open with" to the platform

El mar, 18-03-2008 a las 14:02 -0600, Federico Mena Quintero escribió:
> Hi,
> Right now, the "Open with another application" dialog lives in
> nautilus/libnautilus-private/nautilus-open-with-dialog.[ch].  This
> dialog uses the machinery in GIO's GAppInfo to figure out which apps can
> be used to open a file of a certain MIME-type.
> There's a long-standing annoyance in Firefox, where it implements "open
> with" by starting a file chooser in /usr/bin.  Now, if you complain
> about the file chooser *right here* I will ignore your mail :)  My point
> is that it would be nice if the "open with" GUI were available to all
> apps, not just Nautilus.
> We could do a few things:
> * Move nautilus-open-with-dialog.[ch] into GTK+.  From a super-quick
> read of the code, this uses no Nautilus-only stuff except for some of
> libeel's convenience error dialogs, and some "the MIME info changed"
> signal.
> * Leave the dialog in place inside Nautilus, and provide a D-Bus service
> for the "open with" GUI.  I'm 51% leaning towards this option, since
> then this would have a chance of working with a desktop-specific GUI,
> depending on your choice of desktop environment --- aside from promoting
> the use of D-Bus for this kind of stuff.
> Thoughts?

I think it's something many applications would use, Evince uses always
the default app when opening document attachments because we thought it
wasn't worth to implement the whole open with stuff. I think it's better
to move the dialog to GTK+, since nautilus might not be always running. 

> Oh my god, this is a nice little project for the Summer of Code... it
> would involve figuring out the above, and also changing Firefox to use
> it :)
>   Federico
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org

Carlos Garcia Campos
   elkalmail yahoo es
   carlosgc gnome org
PGP key:

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente

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