Re: API break request

On Wed, 2004-08-25 at 11:19 +0200, Alexander Larsson wrote:
> On Tue, 2004-08-24 at 23:57, Shaun McCance wrote:
> > On Tue, 2004-08-24 at 09:51, Alexander Larsson wrote:
> > > If you get a password dialog from libgnomeui nautilus thinks this means
> > > the open took a long time, so it opens a cancel dialog. There really is
> > > no perfect way to fix this, so i've gone for the hack fix. It requires
> > > an api addition to libgnomeui though, so I need to ask for permission to
> > > add it.
> > 
> > So gnome_authentication_manager_dialog_is_visible just returns whether
> > or not any single password dialog is visible, then?  So let's say I open
> > both bender and tungsten.  And I get a password dialog for bender, but
> > tungsten really just is taking forever.  Would I not get a cancel dialog
> > for tungsten because there's a password dialog visible for bender?
> These are two different apps, right? The is_visible is per-app, so
> things would work right.

I'm not sure this is what Shaun meant, but say I'm working in Nautilus,
and I try to open a remote filesystem on hosts aleph and wintermute;

aleph uses sftp and requires a password, so the auth dialog is
displayed. Meanwhile, wintermute is down (or whatever), and so it just
hangs. In this case, since the patch apparantly only opens the cancel
dialog when no auth dialogs are displayed, I wouldn't get a cancel
dialog for wintermute since an auth dialog for aleph is open. Would this
be correct?

What happens when I successfully authenticate against aleph? Would the
cancel dialog for wintermute be opened after a small while, or would it
never show up?

If the cancel dialog eventually shows up (after authenticating against
aleph) it shouldn't be a problem, but if it never shows up it might be
an issue worth some thought. Isn't there any way of finding out which
gnome-vfs connection an authentication dialog belongs to, or wouldn't
that make any difference?

(just curious)

Erik Grinaker <erikg codepoet no>

"We act as though comfort and luxury were the chief requirements of
life, when all that we need to make us happy is something to be
enthusiastic about."
                                                      -- Albert Einstein

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]