diff options
author | Chris Toshok <toshok@ximian.com> | 2004-07-31 02:06:17 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-07-31 02:06:17 +0800 |
commit | 47912d36f7826239b9eb93d5db3fc26daed612f8 (patch) | |
tree | 69c5b0514f659026b172313c3f313bd391a5c2fe /addressbook/gui/component/ldap-config.glade | |
parent | a07cfcb2bd8587ab0f52ec5539b426bac27de30e (diff) | |
download | gsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.tar.gz gsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.tar.zst gsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.zip |
[ fixes #61365 and other misc issues with the addressbook source editors ]
2004-07-30 Chris Toshok <toshok@ximian.com>
[ fixes #61365 and other misc issues with the addressbook source
editors ]
* gui/component/ldap-config.glade: change the
supported-bases-dialog to be initially hidden.
* gui/component/addressbook-view.c (editor_weak_notify): new
function, remove the editor from our hash.
(source_list_changed_cb): destroy the editors for given sources if
they're up when the source disappears.
(edit_addressbook_cb): add the editor (and some other misc info we
need) to our uid_to_editor hash so we can look it up later. only
create the editor if one doesn't exist for the given source.
(destroy_editor): GHFunc that destroys the widgets.
(addressbook_view_dispose): destroy uid_to_editor.
(addressbook_view_init): init uid_to_editor.
* gui/component/addressbook-config.h: change return values for
_edit_source and _new_source - they both return GtkWidget*s now.
* gui/component/addressbook-config.c (addressbook_ldap_init):
attempt set the protocol version to LDAPv3. This makes the
ldap_auth stuff work if the server requires v3.
(addressbook_root_dse_query): we don't need the separate window
arg, since all of this now happens *before* the supported bases
dialog is shown. we just use the source dialog's window for the
various error dialogs.
(do_ldap_root_dse_query): same.
(query_for_supported_bases): same, and set the supported bases
dialog as transient-for the source dialog, and make it modal.
Lastly, don't make the editor modal.
(addressbook_config_edit_source): return the editor's window.
(addressbook_config_create_new_source): same.
svn path=/trunk/; revision=26778
Diffstat (limited to 'addressbook/gui/component/ldap-config.glade')
-rw-r--r-- | addressbook/gui/component/ldap-config.glade | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addressbook/gui/component/ldap-config.glade b/addressbook/gui/component/ldap-config.glade index 21687321c9..c95c4e364b 100644 --- a/addressbook/gui/component/ldap-config.glade +++ b/addressbook/gui/component/ldap-config.glade @@ -2578,7 +2578,6 @@ </widget> <widget class="GtkDialog" id="supported-bases-dialog"> - <property name="visible">True</property> <property name="title" translatable="yes">Supported Search Bases</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="window_position">GTK_WIN_POS_CENTER</property> |