From 927e286747999a65aabf88472a70100254f49232 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Tue, 27 Apr 2004 07:25:52 +0000 Subject: start integrate the new dialog. 2004-04-27 Larry Ewing * gui/component/addressbook-component.c: start integrate the new dialog. * gui/component/ldap-config.glade: add the new dialog. svn path=/trunk/; revision=25623 --- addressbook/gui/component/addressbook-config.c | 242 +++- addressbook/gui/component/ldap-config.glade | 1830 +++++++++++++++++------- 2 files changed, 1523 insertions(+), 549 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index ee68884e1e..e7350d12be 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -129,6 +129,10 @@ struct _AddressbookSourceDialog { GtkWidget *timeout_scale; GtkWidget *limit_spinbutton; + /* new dialog stuff */ + GtkWidget *auth_frame; + GtkWidget *server_frame; + /* display name page fields */ GtkWidget *display_name; gboolean display_name_changed; /* only used in the druid */ @@ -325,6 +329,62 @@ source_to_uri_parts (ESource *source, gchar **host, gchar **rootdn, #define SOURCE_PROP_STRING(source, prop) \ (source && e_source_get_property (source, prop) ? e_source_get_property (source, prop) : "") + +static void +source_to_dialog_new (AddressbookSourceDialog *dialog) +{ + ESource *source = dialog->source; + + gtk_entry_set_text (GTK_ENTRY (dialog->display_name), source ? e_source_peek_name (source) : ""); + +#ifdef HAVE_LDAP + gtk_entry_set_text (GTK_ENTRY (dialog->email), SOURCE_PROP_STRING (source, "email_addr")); + gtk_entry_set_text (GTK_ENTRY (dialog->binddn), SOURCE_PROP_STRING (source, "binddn")); + gtk_spin_button_set_value ( GTK_SPIN_BUTTON (dialog->limit_spinbutton), + g_strtod ( source && e_source_get_property (source, "limit") ? + e_source_get_property (source, "limit") : "100", NULL)); + gtk_adjustment_set_value (GTK_RANGE(dialog->timeout_scale)->adjustment, + g_strtod ( source && e_source_get_property (source, "timeout") ? + e_source_get_property (source, "timeout") : "3", NULL)); + + dialog->auth = source && e_source_get_property (source, "auth") ? + ldap_parse_auth (e_source_get_property (source, "auth")) : ADDRESSBOOK_LDAP_AUTH_NONE; + dialog->ssl = source && e_source_get_property (source, "ssl") ? + ldap_parse_ssl (e_source_get_property (source, "ssl")) : ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE; + + if (source && !strcmp ("ldap://", e_source_group_peek_base_uri (dialog->source_group))) { + gchar *host; + gchar *rootdn; + AddressbookLDAPScopeType scope; + gint port; + + if (source_to_uri_parts (source, &host, &rootdn, &scope, &port)) { + gchar *port_str; + + gtk_entry_set_text (GTK_ENTRY (dialog->host), host); + gtk_entry_set_text (GTK_ENTRY (dialog->rootdn), rootdn); + + dialog->scope = scope; + + port_str = g_strdup_printf ("%d", port); + gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (dialog->port_combo)->entry), port_str); + g_free (port_str); + + g_free (host); + g_free (rootdn); + } + } + + gtk_option_menu_set_history (GTK_OPTION_MENU(dialog->auth_optionmenu), dialog->auth); + + gtk_widget_set_sensitive (dialog->auth_label_notebook, dialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE); + gtk_widget_set_sensitive (dialog->auth_entry_notebook, dialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE); + + gtk_option_menu_set_history (GTK_OPTION_MENU(dialog->scope_optionmenu), dialog->scope); + gtk_option_menu_set_history (GTK_OPTION_MENU(dialog->ssl_optionmenu), dialog->ssl); +#endif +} + static void source_to_dialog (AddressbookSourceDialog *dialog) { @@ -476,6 +536,16 @@ addressbook_source_dialog_destroy (gpointer data, GObject *where_object_was) g_free (dialog); } +static void +addressbook_add_server_dialog_finish (GtkWidget *widget, AddressbookSourceDialog *sdialog) +{ + sdialog->source = e_source_new ("", ""); + dialog_to_source (sdialog, sdialog->source, FALSE); + + /* tear down the widgets */ + gtk_widget_destroy (sdialog->window); +} + static void addressbook_add_server_druid_cancel (GtkWidget *widget, AddressbookSourceDialog *dialog) { @@ -541,25 +611,35 @@ setup_general_tab (AddressbookSourceDialog *dialog, ModifyFunc modify_func) dialog->general_modify_func = modify_func; dialog->host = glade_xml_get_widget (dialog->gui, "server-name-entry"); + g_signal_connect (dialog->host, "changed", G_CALLBACK (modify_func), dialog); - add_focus_handler (dialog->host, general_tab_help, 0); + + if (general_tab_help) + add_focus_handler (dialog->host, general_tab_help, 0); dialog->auth_label_notebook = glade_xml_get_widget (dialog->gui, "auth-label-notebook"); dialog->auth_entry_notebook = glade_xml_get_widget (dialog->gui, "auth-entry-notebook"); dialog->email = glade_xml_get_widget (dialog->gui, "email-entry"); g_signal_connect (dialog->email, "changed", G_CALLBACK (modify_func), dialog); - add_focus_handler (dialog->email, general_tab_help, 1); + + if (general_tab_help) + add_focus_handler (dialog->email, general_tab_help, 1); + dialog->binddn = glade_xml_get_widget (dialog->gui, "dn-entry"); g_signal_connect (dialog->binddn, "changed", G_CALLBACK (modify_func), dialog); - add_focus_handler (dialog->binddn, general_tab_help, 2); + + if (general_tab_help) + add_focus_handler (dialog->binddn, general_tab_help, 2); dialog->auth_optionmenu = glade_xml_get_widget (dialog->gui, "auth-optionmenu"); menu = gtk_option_menu_get_menu (GTK_OPTION_MENU(dialog->auth_optionmenu)); gtk_container_foreach (GTK_CONTAINER (menu), (GtkCallback)add_auth_activate_cb, dialog); - add_focus_handler (dialog->auth_optionmenu, general_tab_help, 3); + + if (general_tab_help) + add_focus_handler (dialog->auth_optionmenu, general_tab_help, 3); } static gboolean @@ -572,9 +652,10 @@ general_tab_check (AddressbookSourceDialog *dialog) return TRUE; string = gtk_entry_get_text (GTK_ENTRY (dialog->host)); - if (!string || !string[0]) + if (!string || !string[0]) { valid = FALSE; - + g_warning ("no host"); + } if (valid) { if (dialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE) { if (dialog->auth == ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN) @@ -582,8 +663,10 @@ general_tab_check (AddressbookSourceDialog *dialog) else string = gtk_entry_get_text (GTK_ENTRY (dialog->email)); - if (!string || !string[0]) + if (!string || !string[0]) { + g_warning ("no string"); valid = FALSE; + } } } @@ -673,8 +756,12 @@ setup_connecting_tab (AddressbookSourceDialog *dialog, ModifyFunc modify_func) connecting_tab_help = glade_xml_get_widget (dialog->gui, "connecting-tab-help"); dialog->port_combo = glade_xml_get_widget (dialog->gui, "port-combo"); - add_focus_handler (dialog->port_combo, connecting_tab_help, 0); - add_focus_handler (GTK_COMBO(dialog->port_combo)->entry, connecting_tab_help, 0); + + if (connecting_tab_help) { + add_focus_handler (dialog->port_combo, connecting_tab_help, 0); + add_focus_handler (GTK_COMBO(dialog->port_combo)->entry, connecting_tab_help, 0); + } + g_signal_connect (GTK_COMBO(dialog->port_combo)->entry, "changed", G_CALLBACK (modify_func), dialog); g_signal_connect (GTK_COMBO(dialog->port_combo)->entry, "changed", @@ -889,18 +976,26 @@ setup_searching_tab (AddressbookSourceDialog *dialog, ModifyFunc modify_func) searching_tab_help = glade_xml_get_widget (dialog->gui, "searching-tab-help"); dialog->rootdn = glade_xml_get_widget (dialog->gui, "rootdn-entry"); - add_focus_handler (dialog->rootdn, searching_tab_help, 0); + if (searching_tab_help) + add_focus_handler (dialog->rootdn, searching_tab_help, 0); + if (modify_func) g_signal_connect (dialog->rootdn, "changed", G_CALLBACK (modify_func), dialog); dialog->scope_optionmenu = glade_xml_get_widget (dialog->gui, "scope-optionmenu"); - add_focus_handler (dialog->scope_optionmenu, searching_tab_help, 1); + + if (searching_tab_help) + add_focus_handler (dialog->scope_optionmenu, searching_tab_help, 1); + menu = gtk_option_menu_get_menu (GTK_OPTION_MENU(dialog->scope_optionmenu)); gtk_container_foreach (GTK_CONTAINER (menu), (GtkCallback)add_scope_activate_cb, dialog); dialog->timeout_scale = glade_xml_get_widget (dialog->gui, "timeout-scale"); - add_focus_handler (dialog->timeout_scale, searching_tab_help, 2); + + if (searching_tab_help) + add_focus_handler (dialog->timeout_scale, searching_tab_help, 2); + if (modify_func) g_signal_connect (GTK_RANGE(dialog->timeout_scale)->adjustment, "value_changed", @@ -980,12 +1075,21 @@ druid_folder_page_modify_cb (GtkWidget *item, AddressbookSourceDialog *dialog) } +static gboolean +source_group_is_remote (ESourceGroup *group) +{ + return !strcmp ("ldap://", e_source_group_peek_base_uri (group)); +} static void source_group_changed_cb (GtkWidget *widget, AddressbookSourceDialog *sdialog) { + gboolean remote; + sdialog->source_group = g_slist_nth (sdialog->menu_source_groups, gtk_option_menu_get_history (GTK_OPTION_MENU (sdialog->group_optionmenu)))->data; + if (sdialog->auth_frame) + add_folder_modify (widget, sdialog); } static void @@ -1036,6 +1140,118 @@ finish_page_back (GtkWidget *page, GtkWidget *widget, AddressbookSourceDialog *s return FALSE; } +static void +add_folder_modify (GtkWidget *widget, AddressbookSourceDialog *sdialog) +{ + gboolean valid = TRUE; + gboolean remote = FALSE; + + g_warning ("Modify callback"); + + valid = display_name_check (sdialog); + remote = source_group_is_remote (sdialog->source_group); + + + remote = source_group_is_remote (sdialog->source_group); + if (sdialog->server_frame) + gtk_widget_set_sensitive (sdialog->server_frame, remote); + + if (sdialog->auth_frame) + gtk_widget_set_sensitive (sdialog->auth_frame, remote); + +#ifdef HAVE_LDAP + if (valid) { + g_warning ("passed display name"); + valid = general_tab_check (sdialog); + } + if (valid) { + g_warning ("passed general"); + valid = connecting_tab_check (sdialog); + } + if (valid) { + g_warning ("passed connecting"); + valid = searching_tab_check (sdialog); + } + if (valid) + g_warning ("passed searching"); +#endif + + gtk_widget_set_sensitive (sdialog->ok_button, valid); +} + +static AddressbookSourceDialog * +addressbook_add_server_dialog (void) +{ + AddressbookSourceDialog *sdialog = g_new0 (AddressbookSourceDialog, 1); + GConfClient *gconf_client; + GSList *source_groups; + + sdialog->gui = glade_xml_new (EVOLUTION_GLADEDIR "/" GLADE_FILE_NAME, "account-add-window", NULL); + + sdialog->window = glade_xml_get_widget (sdialog->gui, "account-add-window"); + + sdialog->display_name = glade_xml_get_widget (sdialog->gui, "display-name-entry"); + g_signal_connect (sdialog->display_name, "changed", + G_CALLBACK (add_folder_modify), sdialog); + + gconf_client = gconf_client_get_default (); + sdialog->source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/addressbook/sources"); + source_groups = e_source_list_peek_groups (sdialog->source_list); + sdialog->menu_source_groups = g_slist_copy (source_groups); +#ifndef HAVE_LDAP + for ( ; source_groups != NULL; source_groups = g_slist_next (source_groups)) + if (!strcmp ("ldap://", e_source_group_peek_base_uri (source_groups->data))) + sdialog->menu_source_groups = g_slist_remove (sdialog->menu_source_groups, source_groups->data); +#endif + + sdialog->group_optionmenu = glade_xml_get_widget (sdialog->gui, "group-optionmenu"); + if (!GTK_IS_MENU (gtk_option_menu_get_menu (GTK_OPTION_MENU (sdialog->group_optionmenu)))) { + GtkWidget *menu = gtk_menu_new (); + gtk_option_menu_set_menu (GTK_OPTION_MENU (sdialog->group_optionmenu), menu); + gtk_widget_show (menu); + } + + /* NOTE: This assumes that we have sources. If they don't exist, they're set up + * on startup of the Addressbook component. */ + source_group_menu_add_groups (GTK_MENU_SHELL (gtk_option_menu_get_menu ( + GTK_OPTION_MENU (sdialog->group_optionmenu))), sdialog->source_list); + gtk_option_menu_set_history (GTK_OPTION_MENU (sdialog->group_optionmenu), 0); + sdialog->source_group = e_source_list_peek_groups (sdialog->source_list)->data; + g_signal_connect (sdialog->group_optionmenu, "changed", + G_CALLBACK (source_group_changed_cb), sdialog); + + setup_general_tab (sdialog, add_folder_modify); + setup_searching_tab (sdialog, add_folder_modify); + setup_connecting_tab (sdialog, add_folder_modify); + + + sdialog->auth_frame = glade_xml_get_widget (sdialog->gui, "authentication-frame"); + sdialog->server_frame = glade_xml_get_widget (sdialog->gui, "server-frame"); + + sdialog->ok_button = glade_xml_get_widget (sdialog->gui, "ok-button"); + g_signal_connect (sdialog->ok_button, "clicked", + G_CALLBACK(addressbook_add_server_dialog_finish), sdialog); + + sdialog->cancel_button = glade_xml_get_widget (sdialog->gui, "cancel-button"); + g_signal_connect (sdialog->cancel_button, "clicked", + G_CALLBACK(addressbook_add_server_druid_cancel), sdialog); + + g_object_weak_ref (G_OBJECT (sdialog->window), + addressbook_source_dialog_destroy, sdialog); + + /* make sure we fill in the default values */ + source_to_dialog_new (sdialog); + + gtk_window_set_type_hint (GTK_WINDOW (sdialog->window), GDK_WINDOW_TYPE_HINT_DIALOG); + gtk_window_set_modal (GTK_WINDOW (sdialog->window), TRUE); + + add_folder_modify (sdialog->window, sdialog); + + gtk_widget_show_all (sdialog->window); + + return sdialog; +} + static AddressbookSourceDialog * addressbook_add_server_druid (void) { @@ -1414,5 +1630,5 @@ addressbook_config_create_new_source (GtkWidget *parent) { AddressbookSourceDialog *dialog; - dialog = addressbook_add_server_druid (); + dialog = addressbook_add_server_dialog (); } diff --git a/addressbook/gui/component/ldap-config.glade b/addressbook/gui/component/ldap-config.glade index 2d97cf7251..1035c6d63e 100644 --- a/addressbook/gui/component/ldap-config.glade +++ b/addressbook/gui/component/ldap-config.glade @@ -4,29 +4,23 @@ - - Address Book Properties + + Add Contacts Group GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - - 6 + + 12 True False - 6 + 12 - - 6 + True True True @@ -36,26 +30,26 @@ False - - 6 + + 12 True False - 6 + 12 - - 3 + + 6 True False - 4 + 6 - + True - _Display name: - True - False - GTK_JUSTIFY_CENTER + <b>Type:</b> + False + True + GTK_JUSTIFY_LEFT False False 0.5 @@ -71,19 +65,49 @@ - + True - 1 - 0.5 - 0.9 - 1 - 0 - 0 - 0 - 0 + True + -1 - + + + + + + 0 + False + False + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + 12 + True + 2 + 2 + False + 6 + 6 + + + True True True @@ -94,328 +118,393 @@ * False + + 1 + 2 + 0 + 1 + + + + + + + True + C_olor: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + display-color-colorpicker + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + True + True + False + Pick a color + + + 1 + 2 + 1 + 2 + fill + + + + + + + True + _Name: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + display-name-entry + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + <b>Display</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + - 0 - True - True + label_item 0 False - False + True - + True - False - 0 + 0 + 0.5 + GTK_SHADOW_NONE - - - - - 0 - True - True - - - - - False - True - - + + 12 + True + 3 + 2 + False + 6 + 6 - - - True - General - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - - - tab - - + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 0 + 1 + + + - - - True - False - 0 + + + True + _Port: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + port-entry + + + 0 + 1 + 1 + 2 + fill + + + - - - - - - False - True - - + + + True + False + True + False + True + False + + + + True + True + True + True + 0 + + True + * + False + + - - - True - Connecting - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - - - tab - - - - - - True - False - 0 - - - - - - - False - True - - - - - - True - Searching - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - - - tab - - - - - 0 - True - True - - - - - - True - - - 0 - True - True - - - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - 6 - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - True - False - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - 0 - True - True - - - - - 0 - False - False - - - - - - - - New Address Book - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - - - - 6 - True - False + + + True + GTK_SELECTION_BROWSE + + + + True + True + 389 + + + + + + True + True + 636 + + + + + + True + True + 3268 + + + + + + + 1 + 2 + 1 + 2 + + + - - - True - GNOME_EDGE_START - Address Book Creation Assistant - This assistant will help you - create a new address book. - -Depending on the type of address book you create, additional -parameters may be required. Please contact your system -administrator if you need help finding this information. - - + + + True + False + 6 - - - True - Step 1: Folder Characteristics + + + True + _Use secure connection: + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + ssl-optionmenu + + + 0 + False + False + + - - - 16 - True - False - 6 + + + True + True + 0 + + + + + + + True + Always + True + + + + + + + True + Whenever Possible + True + + + + + + + True + Never + True + + + + + + + + 0 + False + False + + + + + 0 + 2 + 2 + 3 + fill + + - - - 6 - True - False - 6 + + + True + _Server: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + server-name-entry + + + 0 + 1 + 0 + 1 + fill + + + + + - + True - Specifying a - display name and group is the first step in setting - up an address book. + <b>Server Information</b> False - False + True GTK_JUSTIFY_LEFT False False - 7.45058e-09 + 0.5 0.5 - 3 + 0 0 - 0 - False - False + label_item + + + 0 + False + True + + - - - True - - - 0 - False - False - - + + + True + 0 + 0.5 + GTK_SHADOW_NONE - - 3 + + 12 True 2 2 False 6 - 3 - - - - True - True - True - True - True - 0 - - True - * - False - - - 1 - 2 - 1 - 2 - - - + 6 - + True - _Display name: + _Log in method: True False GTK_JUSTIFY_LEFT @@ -425,23 +514,23 @@ administrator if you need help finding this information. 0.5 0 0 - druid-display-name-entry + auth-optionmenu 0 1 - 1 - 2 + 0 + 1 fill - + True - Group: - False + _Email address: + True False GTK_JUSTIFY_LEFT False @@ -450,53 +539,168 @@ administrator if you need help finding this information. 0.5 0 0 + email-entry 0 1 - 0 - 1 + 1 + 2 fill - + True True - -1 + True + True + 0 + + True + * + False 1 2 - 0 - 1 - fill + 1 + 2 + + + + True + True + 0 + + + + + + + True + Anonymously + True + + + + + + + True + Email address + True + + + + + + + True + Distinguished name + True + + + + + + + + 1 + 2 + 0 + 1 + fill + + + + + + + + + True + <b>Authentication</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 - 0 - False - False + label_item + + + 0 + True + True + + + + + False + True + + + + + + True + Basic + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + + 12 + True + False + 12 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE - + + 12 True - False - False - GTK_POS_TOP - False - False + 3 + 3 + False + 6 + 6 - + True - This is the name that will appear in your Evolution folder list. It is for display purposes only. + Search base: False False GTK_JUSTIFY_LEFT @@ -508,244 +712,664 @@ administrator if you need help finding this information. 0 - False - True + 0 + 1 + 0 + 1 + fill + - + True - label163 + Search scope: False False - GTK_JUSTIFY_CENTER + GTK_JUSTIFY_LEFT False False - 0.5 + 0 0.5 0 0 - tab + 0 + 1 + 2 + 3 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 3 + 0 + 1 + + + + + + + True + True + GTK_RELIEF_NORMAL + + + + True + 0.5 + 0.5 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-find + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + Find Possible Search Bases + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + + + + 1 + 2 + 1 + 2 + fill + + + + + + + True + True + 0 + + + + + + + True + Search base only + True + + + + + + + True + Only locations within starting point + True + + + + + + + True + Starting point and locations within it + True + + + + + + + + 1 + 3 + 2 + 3 + fill + - + True - Selecting this option will let you change Evolution's default settings for LDAP -searches, and for creating and editing contacts. + False False GTK_JUSTIFY_LEFT False False - 0.5 + 0 0.5 0 0 - False - True + 0 + 1 + 1 + 2 + fill + - + True - label164 + False False - GTK_JUSTIFY_CENTER + GTK_JUSTIFY_LEFT False False - 0.5 + 0 0.5 0 0 - tab + 2 + 3 + 1 + 2 + fill + - - 0 - False - False - GTK_PACK_END - - - - 0 - True - True - - - - - - - - - - True - Step 2: Server Information - - - - 3 - True - False - 3 - - - - 6 - True - False - 6 - + True - You have decided to configure an LDAP server. The first step in doing this is to provide its name and your -log in information. Please ask your system administrator if you are unsure of this information. + <b>Searching</b> False - False + True GTK_JUSTIFY_LEFT False False - 7.45058e-09 + 0.5 0.5 - 3 + 0 0 - 0 - False - False - - - - - - True - - - 0 - False - False + label_item 0 - True - True + False + False - - - - - - - - True - Step 3: Connecting to Server - - - - 3 - True - False - 3 - - 6 + True - False - 6 + 0 + 0.5 + GTK_SHADOW_NONE - + + 12 True - Now, you must specify how you want to connect to the LDAP server. The SSL (Secure Sockets Layer) -and TLS (Transport Layer Security) protocols are used by some servers to cryptographically protect -your connection. Ask your system administrator if your LDAP server uses these protocols. - False - False - GTK_JUSTIFY_LEFT - False - False - 7.45058e-09 - 0.5 - 3 - 0 - - - 0 - False - False - - + 2 + 3 + False + 6 + 6 - - - True - - - 0 - False - False - - - - - 0 - True - True - - - + + + True + Timeout: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + minutes + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 0 + 1 + fill + + + + + + + True + False + 6 + + + + True + 1 + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + True + False + GTK_POS_TOP + 1 + GTK_UPDATE_CONTINUOUS + False + 3 1 5 0.5 1 0 + + + 0 + True + True + + + + + + True + 5 + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + 1 + 2 + 0 + 1 + fill + + + + + + True + Download limit: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + cards + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 1 + 2 + fill + + + + + + + True + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 100 0 100 1 10 10 + + + 1 + 2 + 1 + 2 + + + + + + + + + True + <b>Downloading</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + + + + 0 + True + True + + + + + False + True + + + + + + True + Details + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + 0 + True + True + - + True - Step 4: Searching the Directory + GTK_BUTTONBOX_END + 0 - - - 3 + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + + + + + + True + True + True + GTK_RELIEF_NORMAL + + + + True + 0.5 + 0.5 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-add + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Add Contacts Group + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + + + + + + 0 + True + True + + + + + + + + Address Book Properties + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + + + + 6 + True + False + 6 + + + + 6 + True + True + True + True + GTK_POS_TOP + False + False + + + + 6 True False - 3 + 6 - - 6 + + 3 True False - 6 + 4 - + True - The options on this page control how many entries should be included in your -searches, and how long a search should take. Ask your system administrator if you -need to change these options. - False + _Display name: + True False - GTK_JUSTIFY_LEFT + GTK_JUSTIFY_CENTER False False 0.5 @@ -761,16 +1385,51 @@ need to change these options. - + True + 1 + 0.5 + 0.9 + 1 + + + + True + True + True + True + 0 + + True + * + False + + 0 - False - False + True + True + + 0 + False + False + + + + + + True + False + 0 + + + + + 0 True @@ -778,20 +1437,166 @@ need to change these options. + + False + True + + + + + + True + General + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + + True + False + 0 + + + + + + + False + True + + + + + + True + Connecting + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + + True + False + 0 + + + + + + + False + True + + + + + + True + Searching + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + 0 + True + True + - + True - GNOME_EDGE_FINISH - Finished - Congratulations, you are - finished setting up this address book. + + + 0 + True + True + + -Please click the "Apply" button to save the settings you have entered here. + + + True + False + 0 + + + + True + GTK_BUTTONBOX_END + 6 + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + + + + + + True + False + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + + + + + 0 + True + True + + + + 0 + False + False + @@ -804,11 +1609,6 @@ Please click the "Apply" button to save the settings you have entered False True False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST @@ -905,10 +1705,6 @@ Please click the "Apply" button to save the settings you have entered 0.5 0 1 - 0 - 0 - 0 - 0 @@ -1392,11 +2188,6 @@ It is for display purposes only. False True False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST @@ -1446,10 +2237,6 @@ It is for display purposes only. 0.5 0 1 - 0 - 0 - 0 - 0 @@ -1611,10 +2398,6 @@ It is for display purposes only. 0.5 0 1 - 0 - 0 - 0 - 0 @@ -1861,11 +2644,6 @@ exploits. False True False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST @@ -1939,10 +2717,6 @@ exploits. 7.45058e-09 0 1 - 0 - 0 - 0 - 0 @@ -2018,7 +2792,6 @@ exploits. S_how Supported Bases True GTK_RELIEF_NORMAL - True 0 @@ -2067,10 +2840,6 @@ exploits. 0.5 1 1 - 0 - 0 - 0 - 0 @@ -2181,10 +2950,6 @@ exploits. 0.5 0 1 - 0 - 0 - 0 - 0 @@ -2442,11 +3207,6 @@ too large will slow down your address book. 200 True False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST True @@ -2468,7 +3228,6 @@ too large will slow down your address book. gtk-ok True GTK_RELIEF_NORMAL - True -5 @@ -2481,7 +3240,6 @@ too large will slow down your address book. gtk-cancel True GTK_RELIEF_NORMAL - True -6 -- cgit v1.2.3