Re: gnome-vfs authentication dialogs
- From: Alexander Larsson <alexl redhat com>
- To: nf2 <nf2 scheinwelt at>
- Cc: gnome-vfs-list gnome org, Rodney Dawes <dobey novell com>
- Subject: Re: gnome-vfs authentication dialogs
- Date: Thu, 24 Nov 2005 09:19:34 +0100
On Thu, 2005-11-24 at 02:41 +0100, nf2 wrote:
> Rodney Dawes wrote:
>
> >On Thu, 2005-11-24 at 01:21 +0100, nf2 wrote:
> >
> >
> >>Hello,
> >>
> >>I am trying to develop a generic wrapper "libdesktop-adapter" for
> >>Gnome-VFS and KIO...
> >>
> >>My problem is how to tell Gnome-VFS to pop up the standard
> >>authentication dialog when the password of a remote resource is required
> >>(like nautilus and the filechooser do). As Gnome-VFS doesn't have any
> >>GUI parts, i don't know where to find the API and code for this dialog.
> >>Is there any documentation about this?
> >>
> >>
> >
> >The authentication dialog API is in libgnomeui. I don't know if it is
> >documented, or how well. You'd have to check the developer documentation
> >pages for it.
> >
> >
> >
> hmm ... didn't find any documentation...
>
> is there a code sample how to use this? is it just calling the function
>
> gnome_authentication_manager_push_async()
>
> to install the right callback handler?
No. You just call gnome_authentication_manager_init() and it'll will
work. The push stuff is for some special casing needed in the
fileselector code.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's an uncontrollable flyboy dwarf on the hunt for the last specimen of a
great and near-mythical creature. She's a cosmopolitan belly-dancing cab
driver with the power to see death. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]