Re: VFS for legacy apps
- From: Alexander Larsson <alexl redhat com>
- To: nf2 <nf2 scheinwelt at>
- Cc: "gnome-vfs-list gnome org" <gnome-vfs-list gnome org>
- Subject: Re: VFS for legacy apps
- Date: Fri, 23 Feb 2007 15:24:50 +0100
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
alexl redhat com alla lysator liu se
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!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]