diff options
author | Chris Toshok <toshok@ximian.com> | 2002-09-12 06:08:40 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-09-12 06:08:40 +0800 |
commit | 64d454a16c99af0418fbf31e7b6ba070ace6535e (patch) | |
tree | 6316ce78200663f4c010d4785a1290f24bbc918f /calendar/cal-util | |
parent | 9b1732a7825e666762c979da7428019eeb9f1aa4 (diff) | |
download | gsoc2013-evolution-64d454a16c99af0418fbf31e7b6ba070ace6535e.tar gsoc2013-evolution-64d454a16c99af0418fbf31e7b6ba070ace6535e.tar.gz gsoc2013-evolution-64d454a16c99af0418fbf31e7b6ba070ace6535e.tar.bz2 gsoc2013-evolution-64d454a16c99af0418fbf31e7b6ba070ace6535e.tar.lz gsoc2013-evolution-64d454a16c99af0418fbf31e7b6ba070ace6535e.tar.xz gsoc2013-evolution-64d454a16c99af0418fbf31e7b6ba070ace6535e.tar.zst gsoc2013-evolution-64d454a16c99af0418fbf31e7b6ba070ace6535e.zip |
[ fixes #30208 ] if the user clicked cancel in the password dialog, let
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes #30208 ]
* gui/component/addressbook.c (load_uri_auth_cb): if the user
clicked cancel in the password dialog, let them off the hook and
bind anonymously. Otherwise (if they failed to auth), prompt them
for the password again.
(addressbook_authenticate): new function, split out 99% of the
auth machinery here so it can be called multiple times. Also,
call the callback with E_BOOK_STATUS_CANCELLED if the user clicked
the cancel button in the dialog.
(load_uri_cb): call addressbook_authenticate if the book has auth
enabled.
(addressbook_load_uri): use g_new0.
svn path=/trunk/; revision=18049
Diffstat (limited to 'calendar/cal-util')
0 files changed, 0 insertions, 0 deletions