On Fri, 2007-02-23 at 15:12 +0100, nf2 wrote:
> Alexander Larsson wrote:
> Perhaps application developers could be made aware of this mounting
> issue by providing special functions in the gvfs api (to make
> automouting possible, but in a controlled way).
>
> if (!g_file_is_on_mounted_fs(GFile *f ...))
> g_file_try_async_activate(GFile *f...); // will pop up the login
> dialog and mount
>
> // ... work with the file ...
There is already a way to handle this. You get a not-mounted error, and
then you can call (always async) g_file_mount().
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
[EMAIL PROTECTED] [EMAIL PROTECTED]
He's a hate-fuelled coffee-fuelled card sharp who dotes on his loving old ma.
She's a blind bisexual snake charmer who hides her beauty behind a pair of
thick-framed spectacles. They fight crime!
_______________________________________________
gnome-vfs-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list