gdesktopappinfo: Add g_desktop_app_info_launch_uris_as_manager()
authorColin Walters <walters@verbum.org>
Mon, 20 Dec 2010 19:48:53 +0000 (14:48 -0500)
committerColin Walters <walters@verbum.org>
Wed, 5 Jan 2011 16:58:07 +0000 (11:58 -0500)
commite6546debd61d32b41b37c20b62d4e47cd3e53e25
tree227a1f0460522751e1539b0ea53bcaf26c9c7e7e
parentbb6c44b9d3fd94835044ffda38ca2f211deb5b7b
gdesktopappinfo: Add g_desktop_app_info_launch_uris_as_manager()

A new GDesktopAppInfo specific function which provides more control
over launched processes.  Intended basically only for use in GNOME
Shell, where we want:

*) To directly know the GPid for each launched program, without
   having to listen to a DBus signal emitted in our own process
*) Possibly control over the process environment; for example,
   we may want to call setsid() or redirect file descriptors.

And in the future:
*) To avoid recursively calling ourself via DBus, when a later
   patch causes g_app_info_launch() to indirect via the shell.

https://bugzilla.gnome.org/show_bug.cgi?id=606960
gio/gdesktopappinfo.c
gio/gdesktopappinfo.h