aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-config.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-07-31 02:06:17 +0800
committerChris Toshok <toshok@src.gnome.org>2004-07-31 02:06:17 +0800
commit47912d36f7826239b9eb93d5db3fc26daed612f8 (patch)
tree69c5b0514f659026b172313c3f313bd391a5c2fe /addressbook/gui/component/addressbook-config.h
parenta07cfcb2bd8587ab0f52ec5539b426bac27de30e (diff)
downloadgsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.tar
gsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.tar.gz
gsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.tar.bz2
gsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.tar.lz
gsoc2013-evolution-47912d36f7826239b9eb93d5db3fc26daed612f8.tar.xz
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/addressbook-config.h')
-rw-r--r--addressbook/gui/component/addressbook-config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-config.h b/addressbook/gui/component/addressbook-config.h
index b5800bc123..8818fd08d7 100644
--- a/addressbook/gui/component/addressbook-config.h
+++ b/addressbook/gui/component/addressbook-config.h
@@ -46,7 +46,7 @@ typedef enum {
ADDRESSBOOK_LDAP_SSL_NEVER
} AddressbookLDAPSSLType;
-void addressbook_config_edit_source (GtkWidget *parent, ESource *source);
-void addressbook_config_create_new_source (GtkWidget *parent);
+GtkWidget* addressbook_config_edit_source (GtkWidget *parent, ESource *source);
+GtkWidget* addressbook_config_create_new_source (GtkWidget *parent);
#endif /* __ADDRESSBOOK_CONFIG_H__ */