Re: gtk_show_help and gtk_show_url



On Sun, 2007-10-07 at 17:10 -0400, Havoc Pennington wrote:
> Hi,
> 
> Sketching out an API here, prototype attached.
> 
> See also 
> http://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00139.html
> 
> Some questions:
>   - in current GNOME, what are the right "parameters" to open a help 
> file? (i.e. what values does gtk_help_show() need to open a gnome help 
> file, such as document ID or anchor or whatever)
> 
>   - it looks like GTK doesn't use startup notification at all right now?
> There are three ways I can think of to code launching an URL from gtk:
>     1) have a dbus service that does all the startup notification and 
> other work, and invoke it from gtk
>     2) do all the startup notification and so forth in gtk itself, and 
> call xdg-open (does xdg-open support SN properly?)
>     3) dlopen gnome-vfs and call its code for this
> 
>   - are the _with_env() flavors of these functions needed, if gtk does 
> startup notification itself? (gnome-vfs and libgnome have with_env 
> versions of url_show and help_show)

gio has some API for spawning apps, and for mapping from mimetype to
what app to spawn. So, we could put the startup notify code in Gtk+ and
use gio (when in glib) for the lower levels.




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