From 2ca2244e6b47fa020ba10bcfb6836033ddfc3cc8 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 5 Jul 2000 20:07:46 +0000 Subject: call e_ldap_storage_add_server call. 2000-07-05 Chris Toshok * gui/component/addressbook.c (new_server_cb): call e_ldap_storage_add_server call. * gui/component/ldap-server-dialog.glade: add name row. * gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type. * gui/component/e-ldap-server-dialog.c (extract_server_info): add support for the name-entry. * gui/component/e-ldap-server-dialog.c (fill_in_server_info): same. * gui/component/e-ldap-storage.h: add ELDAPServer type, and add prototypes for e_ldap_storage_add_server and e_ldap_storage_remove_server. * gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new function, add it to our hash table, add a shell folder, and save out the metadata. (ldap_server_foreach): add the ldap server info under a "contactserver" node. (setup_ldap_storage): create our hashtable. svn path=/trunk/; revision=3895 --- addressbook/gui/component/ldap-server-dialog.glade | 165 +++++++++++++-------- 1 file changed, 107 insertions(+), 58 deletions(-) (limited to 'addressbook/gui/component/ldap-server-dialog.glade') diff --git a/addressbook/gui/component/ldap-server-dialog.glade b/addressbook/gui/component/ldap-server-dialog.glade index 71090f53dd..a4dad9c2c2 100644 --- a/addressbook/gui/component/ldap-server-dialog.glade +++ b/addressbook/gui/component/ldap-server-dialog.glade @@ -10,17 +10,7 @@ C True True - False False - True - True - True - interface.c - interface.h - callbacks.c - callbacks.h - support.c - support.h True ldap-server-dialog.glade.h @@ -49,6 +39,40 @@ True + + GtkHButtonBox + GnomeDialog:action_area + dialog-action_area1 + GTK_BUTTONBOX_END + 8 + 85 + 27 + 7 + 0 + + 0 + False + True + GTK_PACK_END + + + + GtkButton + button1 + True + True + GNOME_STOCK_BUTTON_OK + + + + GtkButton + button3 + True + True + GNOME_STOCK_BUTTON_CANCEL + + + GtkVBox vbox1 @@ -63,7 +87,7 @@ GtkTable table2 - 4 + 5 2 False 0 @@ -85,8 +109,8 @@ 1 2 - 0 - 1 + 1 + 2 0 0 True @@ -109,8 +133,8 @@ 1 2 - 1 - 2 + 2 + 3 0 0 True @@ -133,8 +157,8 @@ 1 2 - 2 - 3 + 3 + 4 0 0 True @@ -157,8 +181,8 @@ 1 2 - 3 - 4 + 4 + 5 0 0 True @@ -180,8 +204,8 @@ 0 1 - 0 - 1 + 1 + 2 0 0 True @@ -215,8 +239,8 @@ 0 1 - 1 - 2 + 2 + 3 0 0 False @@ -250,8 +274,8 @@ 0 1 - 2 - 3 + 3 + 4 0 0 False @@ -285,8 +309,8 @@ 0 1 - 3 - 4 + 4 + 5 0 0 False @@ -309,40 +333,65 @@ 0 - - - - GtkHButtonBox - GnomeDialog:action_area - dialog-action_area1 - GTK_BUTTONBOX_END - 8 - 85 - 27 - 7 - 0 - - 0 - False - True - GTK_PACK_END - + + GtkEntry + name-entry + True + True + True + 0 + + + 1 + 2 + 0 + 1 + 0 + 0 + True + False + False + False + True + False + + - - GtkButton - button1 - True - True - GNOME_STOCK_BUTTON_OK - + + GtkAlignment + alignment5 + 0 + 0.5 + 1 + 1 + + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + True + - - GtkButton - button3 - True - True - GNOME_STOCK_BUTTON_CANCEL + + GtkLabel + label5 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + -- cgit v1.2.3