On Dec 11, 2007 9:23 PM, Dr. Michael J. Chudobiak <[EMAIL PROTECTED]> wrote:
> Can someone point me to the correct way to launch a Nautilus window from
> a gtk application (i.e., context menu -> open this folder in Nautilus).

The Portland project at freedesktop.org is doing this:

  http://portland.freedesktop.org/wiki/Portland

It's still quite new though, I don't know how many linuxes include it
(Ubuntu 7.10 does at least).

The command-line interface is very simple. Just do:

  system( "xdg-open /my/directory/path" );

And it opens the specified file in the user's preferred application
for files of that type. For a directory, you'll probably get Nautilus
on a Gnome machine.

There's a DBUS interface as well.

John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to