From 53af5692dfd501eb6ba728abb934931f6d5c8ab8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 7 Mar 2001 05:07:32 +0000 Subject: Move the signal emittion to after the set_menu call so that it actually 2001-03-07 Jeffrey Stedfast * mail-account-editor.c (source_auth_init): Move the signal emittion to after the set_menu call so that it actually works. (transport_type_changed): Updated to manipulate the user/passwd fields for the transport. (construct): Updated to init the user/passwd fields for the transport. (transport_auth_init): Renamed. Also fill in the user/passwd fields if available. svn path=/trunk/; revision=8577 --- mail/ChangeLog | 11 + mail/mail-account-editor.c | 99 +- mail/mail-account-editor.h | 5 +- mail/mail-config.glade | 2742 +++++++++++++++++++++----------------------- 4 files changed, 1395 insertions(+), 1462 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index b6a5886277..757cf4fa44 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,14 @@ +2001-03-07 Jeffrey Stedfast + + * mail-account-editor.c (source_auth_init): Move the signal + emittion to after the set_menu call so that it actually works. + (transport_type_changed): Updated to manipulate the user/passwd + fields for the transport. + (construct): Updated to init the user/passwd fields for the + transport. + (transport_auth_init): Renamed. Also fill in the user/passwd + fields if available. + 2001-03-06 Jeffrey Stedfast * mail-accounts.c (construct): Disable the NNTP code if NNTP is diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c index 89f6057949..0f7b605435 100644 --- a/mail/mail-account-editor.c +++ b/mail/mail-account-editor.c @@ -194,7 +194,7 @@ apply_changes (MailAccountEditor *editor) str = gtk_entry_get_text (editor->source_path); source_url->path = str && *str ? g_strdup (str) : NULL; - account->source->save_passwd = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (editor->save_passwd)); + account->source->save_passwd = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (editor->source_save_passwd)); account->source->keep_on_server = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (editor->keep_on_server)); account->source->enabled = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (editor->source_enabled)); @@ -226,6 +226,14 @@ apply_changes (MailAccountEditor *editor) str = gtk_object_get_data (GTK_OBJECT (editor), "transport_authmech"); transport_url->authmech = str && *str ? g_strdup (str) : NULL; + if (transport_url->authmech) { + str = gtk_entry_get_text (editor->transport_user); + transport_url->user = str && *str ? g_strdup (str) : NULL; + + str = gtk_entry_get_text (editor->transport_passwd); + transport_url->passwd = str && *str ? g_strdup (str) : NULL; + } + host = g_strdup (gtk_entry_get_text (editor->transport_host)); if (host && (pport = strchr (host, ':'))) { *pport = '\0'; @@ -243,6 +251,8 @@ apply_changes (MailAccountEditor *editor) g_free (account->transport->url); account->transport->url = camel_url_to_string (transport_url, FALSE); + account->transport->save_passwd = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (editor->transport_save_passwd)); + /* check to make sure the source works */ if (source_url) { if (mail_config_check_service (source_url, CAMEL_PROVIDER_STORE, FALSE, NULL)) { @@ -258,8 +268,15 @@ apply_changes (MailAccountEditor *editor) } /* check to make sure the transport works */ - if (!mail_config_check_service (transport_url, CAMEL_PROVIDER_TRANSPORT, FALSE, NULL)) + if (mail_config_check_service (transport_url, CAMEL_PROVIDER_TRANSPORT, FALSE, NULL)) { + /* save the password if we were requested to do so */ + if (account->transport->save_passwd && transport_url->passwd) { + mail_session_set_password (account->transport->url, transport_url->passwd); + mail_session_remember_password (account->transport->url); + } + } else { retval = FALSE; + } camel_url_free (transport_url); @@ -331,7 +348,7 @@ source_auth_type_changed (GtkWidget *widget, gpointer user_data) label = glade_xml_get_widget (editor->gui, "lblSourcePasswd"); gtk_widget_set_sensitive (label, sensitive); gtk_widget_set_sensitive (GTK_WIDGET (editor->source_passwd), sensitive); - gtk_widget_set_sensitive (GTK_WIDGET (editor->save_passwd), sensitive); + gtk_widget_set_sensitive (GTK_WIDGET (editor->source_save_passwd), sensitive); } static void @@ -376,14 +393,14 @@ source_auth_init (MailAccountEditor *editor, CamelURL *url) l = l->next; i++; } - - if (authmech) { - gtk_signal_emit_by_name (GTK_OBJECT (authmech), "activate", editor); - gtk_option_menu_set_history (editor->source_auth, history); - } } gtk_option_menu_set_menu (editor->source_auth, menu); + + if (authmech) { + gtk_signal_emit_by_name (GTK_OBJECT (authmech), "activate", editor); + gtk_option_menu_set_history (editor->source_auth, history); + } } static void @@ -398,7 +415,7 @@ transport_auth_type_changed (GtkWidget *widget, gpointer user_data) } static void -transport_construct_authmenu (MailAccountEditor *editor, CamelURL *url) +transport_auth_init (MailAccountEditor *editor, CamelURL *url) { GtkWidget *authmech = NULL; GtkWidget *menu, *item; @@ -449,6 +466,13 @@ transport_construct_authmenu (MailAccountEditor *editor, CamelURL *url) if (authmech) { gtk_signal_emit_by_name (GTK_OBJECT (authmech), "activate", editor); gtk_option_menu_set_history (editor->transport_auth, history); + if (url->authmech) { + gtk_entry_set_text (editor->transport_user, url->user ? url->user : ""); + gtk_entry_set_text (editor->transport_passwd, url->passwd ? url->passwd : ""); + } else { + gtk_entry_set_text (editor->transport_user, ""); + gtk_entry_set_text (editor->transport_passwd, ""); + } } } @@ -473,6 +497,30 @@ transport_type_changed (GtkWidget *widget, gpointer user_data) gtk_widget_set_sensitive (label, FALSE); } + /* username */ + label = glade_xml_get_widget (editor->gui, "lblTransportUser"); + if (provider->url_flags & CAMEL_URL_ALLOW_AUTH) { + gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_user), TRUE); + gtk_widget_set_sensitive (label, TRUE); + } else { + gtk_entry_set_text (editor->transport_user, ""); + gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_user), FALSE); + gtk_widget_set_sensitive (label, FALSE); + } + + /* password */ + label = glade_xml_get_widget (editor->gui, "lblTransportPasswd"); + if (provider->url_flags & CAMEL_URL_ALLOW_AUTH) { + gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_passwd), TRUE); + gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_save_passwd), TRUE); + gtk_widget_set_sensitive (label, TRUE); + } else { + gtk_entry_set_text (editor->transport_passwd, ""); + gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_passwd), FALSE); + gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_save_passwd), FALSE); + gtk_widget_set_sensitive (label, FALSE); + } + /* auth */ label = glade_xml_get_widget (editor->gui, "lblTransportAuth"); if (provider->url_flags & CAMEL_URL_ALLOW_AUTH) { @@ -485,7 +533,7 @@ transport_type_changed (GtkWidget *widget, gpointer user_data) url = g_new0 (CamelURL, 1); url->protocol = g_strdup (provider->protocol); url->host = g_strdup (gtk_entry_get_text (editor->transport_host)); - transport_construct_authmenu (editor, url); + transport_auth_init (editor, url); camel_url_free (url); } else { gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_auth), FALSE); @@ -622,11 +670,11 @@ source_check (MailAccountEditor *editor, CamelURL *url) label = glade_xml_get_widget (editor->gui, "lblSourcePasswd"); if (url && provider->url_flags & CAMEL_URL_ALLOW_PASSWORD) { gtk_widget_set_sensitive (GTK_WIDGET (editor->source_passwd), TRUE); - gtk_widget_set_sensitive (GTK_WIDGET (editor->save_passwd), TRUE); + gtk_widget_set_sensitive (GTK_WIDGET (editor->source_save_passwd), TRUE); gtk_widget_set_sensitive (label, TRUE); } else { gtk_widget_set_sensitive (GTK_WIDGET (editor->source_passwd), FALSE); - gtk_widget_set_sensitive (GTK_WIDGET (editor->save_passwd), FALSE); + gtk_widget_set_sensitive (GTK_WIDGET (editor->source_save_passwd), FALSE); gtk_widget_set_sensitive (label, FALSE); } @@ -676,24 +724,25 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) /* General */ editor->account_name = GTK_ENTRY (glade_xml_get_widget (gui, "txtAccountName")); - e_utf8_gtk_entry_set_text (editor->account_name, account->name); + e_utf8_gtk_entry_set_text (editor->account_name, account->name ? account->name : _("Unspecified")); gtk_signal_connect (GTK_OBJECT (editor->account_name), "changed", entry_changed, editor); editor->name = GTK_ENTRY (glade_xml_get_widget (gui, "txtName")); - e_utf8_gtk_entry_set_text (editor->name, account->id->name); + e_utf8_gtk_entry_set_text (editor->name, account->id->name ? account->id->name : ""); gtk_signal_connect (GTK_OBJECT (editor->name), "changed", entry_changed, editor); editor->email = GTK_ENTRY (glade_xml_get_widget (gui, "txtAddress")); - e_utf8_gtk_entry_set_text (editor->email, account->id->address); + e_utf8_gtk_entry_set_text (editor->email, account->id->address ? account->id->address : ""); gtk_signal_connect (GTK_OBJECT (editor->email), "changed", entry_changed, editor); editor->reply_to = GTK_ENTRY (glade_xml_get_widget (gui, "txtReplyTo")); if (editor->reply_to) e_utf8_gtk_entry_set_text (editor->reply_to, account->id->reply_to ? account->id->reply_to : ""); editor->organization = GTK_ENTRY (glade_xml_get_widget (gui, "txtOrganization")); if (editor->organization) - e_utf8_gtk_entry_set_text (editor->organization, account->id->organization); + e_utf8_gtk_entry_set_text (editor->organization, account->id->organization ? + account->id->organization : ""); editor->signature = GNOME_FILE_ENTRY (glade_xml_get_widget (gui, "fileSignature")); if (editor->signature) { entry = gnome_file_entry_gtk_entry (editor->signature); - gtk_entry_set_text (GTK_ENTRY (entry), account->id->signature); + gtk_entry_set_text (GTK_ENTRY (entry), account->id->signature ? account->id->signature : ""); } /* Servers */ @@ -744,16 +793,16 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) if (provider) { if (provider->url_flags & CAMEL_URL_PATH_IS_ABSOLUTE) - gtk_entry_set_text (editor->source_path, url->path); + gtk_entry_set_text (editor->source_path, url->path ? url->path : ""); else - gtk_entry_set_text (editor->source_path, url->path + 1); + gtk_entry_set_text (editor->source_path, url->path + 1 ? url->path + 1 : ""); } else { /* we've got a serious problem if we ever get to here */ g_assert_not_reached (); } } - editor->save_passwd = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkSavePasswd")); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->save_passwd), account->source->save_passwd); + editor->source_save_passwd = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkSourceSavePasswd")); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->source_save_passwd), account->source->save_passwd); editor->source_auth = GTK_OPTION_MENU (glade_xml_get_widget (gui, "omenuSourceAuth")); editor->source_ssl = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkSourceSSL")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->source_ssl), account->source->use_ssl); @@ -789,6 +838,12 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) gtk_entry_append_text (editor->transport_host, port); } editor->transport_auth = GTK_OPTION_MENU (glade_xml_get_widget (gui, "omenuTransportAuth")); + editor->transport_user = GTK_ENTRY (glade_xml_get_widget (gui, "txtTransportUser")); + gtk_entry_set_text (editor->transport_user, url && url->user ? url->user : ""); + editor->transport_passwd = GTK_ENTRY (glade_xml_get_widget (gui, "txtTransportPasswd")); + gtk_entry_set_text (editor->transport_passwd, url && url->passwd ? url->passwd : ""); + editor->transport_save_passwd = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkTransportSavePasswd")); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->transport_save_passwd), account->transport->save_passwd); editor->transport_ssl = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkTransportSSL")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->transport_ssl), account->transport->use_ssl); if (GTK_IS_OPTION_MENU (editor->transport_type)) @@ -797,6 +852,8 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) gtk_label_set_text (GTK_LABEL (editor->transport_type), url && url->protocol ? url->protocol : _("None")); + transport_auth_init (editor, url); + if (url) camel_url_free (url); diff --git a/mail/mail-account-editor.h b/mail/mail-account-editor.h index a750bdedb6..5bbdaa64b0 100644 --- a/mail/mail-account-editor.h +++ b/mail/mail-account-editor.h @@ -60,7 +60,7 @@ struct _MailAccountEditor { GtkEntry *source_user; GtkEntry *source_passwd; GtkEntry *source_path; - GtkCheckButton *save_passwd; + GtkCheckButton *source_save_passwd; GtkOptionMenu *source_auth; GtkCheckButton *source_ssl; @@ -75,6 +75,9 @@ struct _MailAccountEditor { GtkWidget *transport_type; /* Same here... */ GtkEntry *transport_host; GtkOptionMenu *transport_auth; + GtkEntry *transport_user; + GtkEntry *transport_passwd; + GtkCheckButton *transport_save_passwd; GtkCheckButton *transport_ssl; const CamelProvider *transport; diff --git a/mail/mail-config.glade b/mail/mail-config.glade index 6fcd24a197..5f5d6d0540 100644 --- a/mail/mail-config.glade +++ b/mail/mail-config.glade @@ -736,7 +736,6 @@ Click "Next" to begin. GtkSpinButton spinAutoCheckMinutes - False True 1 0 @@ -1682,12 +1681,14 @@ Click "Finish" to save your settings. GnomeDialog - mail-account-editor + mail-accounts-dialog False - Account Properties + Evolution Mail Configuration GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER - True + False + 350 + 240 False True True @@ -1697,7 +1698,7 @@ Click "Finish" to save your settings. GtkVBox GnomeDialog:vbox - dialog-vbox3 + vbox37 False 8 @@ -1709,7 +1710,7 @@ Click "Finish" to save your settings. GtkHButtonBox GnomeDialog:action_area - dialog-action_area3 + hbuttonbox2 GTK_BUTTONBOX_END 8 85 @@ -1731,14 +1732,6 @@ Click "Finish" to save your settings. GNOME_STOCK_BUTTON_OK - - GtkButton - cmdApply - True - True - GNOME_STOCK_BUTTON_APPLY - - GtkButton cmdCancel @@ -1750,7 +1743,7 @@ Click "Finish" to save your settings. GtkNotebook - toplevel + notebook True True True @@ -1766,415 +1759,369 @@ Click "Finish" to save your settings. - GtkVBox - vbox32 - 5 + GtkHBox + hbox36 False 0 - GtkVBox - vbox33 - False - 0 + GtkScrolledWindow + scrolledwindow1 + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS 0 - False - False + True + True - GtkHBox - hbox26 - False - 0 - - 5 - True - True - + GtkCList + clistAccounts + True + 2 + 150,80 + GTK_SELECTION_SINGLE + True + GTK_SHADOW_IN GtkLabel - lblMailAccount - + CList:title + lblAccount + GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 - - 10 - False - False - - GtkHSeparator - hseparator - - 10 - True - True - + GtkLabel + CList:title + lblType + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + + + GtkVButtonBox + vbuttonbox1 + GTK_BUTTONBOX_START + 0 + 85 + 27 + 7 + 0 + + 0 + False + False + - GtkLabel - lblDirections - - GTK_JUSTIFY_LEFT - True - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - + GtkButton + cmdMailAdd + True + True + + GTK_RELIEF_NORMAL - GtkEntry - txtAccountName + GtkButton + cmdMailEdit + True True - True - True - 0 - - - 5 - False - False - + + GTK_RELIEF_NORMAL + + + + GtkButton + cmdMailDelete + True + True + + GTK_RELIEF_NORMAL + + + + GtkButton + cmdMailDefault + True + True + + GTK_RELIEF_NORMAL + + + + GtkLabel + Notebook:tab + lblMail + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + + + GtkHBox + hbox37 + False + 0 - GtkTable - tableUserInfo - 6 - 10 - True - 4 - 0 + GtkScrolledWindow + scrolledwindow2 + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS 0 - False + True True - GtkHBox - hbox35 - False - 0 - - 0 - 10 - 0 - 1 - 0 - 0 - True - True - False - False - True - True - + GtkCList + clistNews + True + 1 + 80 + GTK_SELECTION_SINGLE + True + GTK_SHADOW_IN GtkLabel - lblUserInfo - + CList:title + lblSources + GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 - - 10 - False - False - - - - - GtkHSeparator - hseparator8 - - 10 - True - True - + - - GtkEntry - txtName - True - True - True - 0 - - - 4 - 10 - 1 - 2 - 0 - 0 - True - False - False - False - True - False - - + + GtkVButtonBox + vbuttonbox2 + GTK_BUTTONBOX_START + 0 + 85 + 27 + 7 + 0 + + 0 + False + False + - GtkEntry - txtAddress + GtkButton + cmdNewsAdd + True True - True - True - 0 - - - 4 - 10 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - + + GTK_RELIEF_NORMAL - GtkEntry - txtReplyTo + GtkButton + cmdNewsEdit + True True - True - True - 0 - - - 4 - 10 - 3 - 4 - 0 - 0 - True - False - False - False - True - False - + + GTK_RELIEF_NORMAL - GtkEntry - txtOrganization + GtkButton + cmdNewsDelete + True True - True - True - 0 - - - 4 - 10 - 4 - 5 - 0 - 0 - True - False - False - False - True - False - + + GTK_RELIEF_NORMAL + + - - GnomeFileEntry - fileSignature - 10 - Select signature file - False - True - - 4 - 10 - 5 - 6 - 0 - 0 - True - False - False - False - True - False - - - - GtkEntry - GnomeEntry:entry - txtSignature - True - True - True - 0 - - - + + GtkLabel + Notebook:tab + lblNews + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + + + GtkVBox + vbox38 + False + 4 + + + GtkCheckButton + chkSendHTML + True + + False + True + + 0 + False + False + + + + + GtkHBox + hbox38 + False + 0 + + 0 + False + True + GtkLabel - lblName - - GTK_JUSTIFY_LEFT + lblMarkAsRead + + GTK_JUSTIFY_CENTER False - 0 + 0.5 0.5 - 0 + 4 0 - 1 - 4 - 1 - 2 - 0 - 0 - False - False - False - False - False - False + 0 + False + False - GtkLabel - lblEMail - - GTK_JUSTIFY_LEFT + GtkSpinButton + spinMarkTimeout + True + 1 + 1 + True + GTK_UPDATE_IF_VALID + False False - 0 - 0.5 - 0 - 0 + 1.5 + 0 + 10 + 0.1 + 1 + 1 - 1 - 4 - 2 - 3 - 0 - 0 - False - False - False - False - False - False + 0 + False + True GtkLabel - lblReplyTo - - GTK_JUSTIFY_LEFT + lblSeconds + + GTK_JUSTIFY_CENTER False - 0 + 0.5 0.5 - 0 + 4 0 - 1 - 4 - 3 - 4 - 0 - 0 - False - False - False - False - False - False + 0 + False + False + + + + GtkHBox + hbox41 + False + 0 + + 0 + False + True + GtkLabel - lblOrganization - - GTK_JUSTIFY_LEFT + lblPgpPath + + GTK_JUSTIFY_CENTER False - 0 + 0.5 0.5 - 0 + 4 0 - 1 - 4 - 4 - 5 - 0 - 0 - False - False - False - False - False - False + 0 + False + False - GtkLabel - lblSignature - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 + GnomeFileEntry + filePgpPath + 10 + Select PGP binary + False + True - 1 - 4 - 5 - 6 - 0 - 0 - False - False - False - False - False - False + 4 + True + True + + + GtkEntry + GnomeEntry:entry + combo-entry1 + True + True + True + 0 + + @@ -2182,8 +2129,8 @@ Click "Finish" to save your settings. GtkLabel Notebook:tab - lblGeneral - + lblOther + GTK_JUSTIFY_CENTER False 0.5 @@ -2191,611 +2138,435 @@ Click "Finish" to save your settings. 0 0 + + + + + + GnomeDialog + mail-account-editor + False + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + True + True + True + True + False + False + + + GtkVBox + GnomeDialog:vbox + dialog-vbox4 + False + 8 + + 4 + True + True + + + + GtkHButtonBox + GnomeDialog:action_area + dialog-action_area4 + GTK_BUTTONBOX_END + 8 + 85 + 27 + 7 + 0 + + 0 + False + True + GTK_PACK_END + + + + GtkButton + button1 + True + True + GNOME_STOCK_BUTTON_OK + + + + GtkButton + button2 + True + True + GNOME_STOCK_BUTTON_APPLY + + + + GtkButton + button3 + True + True + GNOME_STOCK_BUTTON_CANCEL + + + + + GtkNotebook + toplevel + True + True + True + GTK_POS_TOP + False + 2 + 2 + False + + 0 + True + True + GtkVBox - vbox34 - 5 + vboxGeneral False 0 - GtkTable - tableIncomingServer - 8 - 10 - True - 0 - 0 + GtkFrame + frameMailAccount + 4 + + 0 + GTK_SHADOW_ETCHED_IN 0 - False - False + True + True - GtkHBox - hbox31 + GtkVBox + vboxMailAccount False 0 - - 0 - 10 - 0 - 1 - 0 - 0 - True - True - False - False - True - True - GtkLabel - lblIncomingMailServer - - GTK_JUSTIFY_CENTER - False + labelDirections + + GTK_JUSTIFY_LEFT + True 0.5 0.5 0 - 0 + 4 - 10 + 0 False False - GtkHSeparator - hseparator4 + GtkEntry + txtAccountName + True + True + True + 0 + - 10 - True - True + 2 + False + False + + + + GtkFrame + frameIdentity + 4 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + True + True + - GtkCheckButton - chkSavePasswd - True - - False - True - - 4 - 10 - 5 - 6 - 0 - 0 - False - False - False - False - True - False - - - - - GtkEntry - txtSourceHost - True - True - True - 0 - - - 3 - 10 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - - - - - GtkEntry - txtSourceUser - True - True - True - 0 - - - 3 - 10 - 3 - 4 - 0 - 0 - True - False - False - False - True - False - - - - - GtkEntry - txtSourcePasswd - True - True - False - 0 - - - 3 - 10 - 4 - 5 - 0 - 0 - True - False - False - False - True - False - - - - - GtkCheckButton - chkSourceSSL - False - True - - False - True - - 1 - 10 - 7 - 8 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblSourceUser - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 3 - 4 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblSourcePasswd - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 4 - 5 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblSourceAuth - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 6 - 7 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblSourceHost - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 2 - 3 - 0 - 0 - False - False - False - False - False - False - - + GtkTable + tableIdentity + 4 + 5 + 2 + False + 4 + 4 - - GtkLabel - lblIncomingServerType - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 1 - 2 + + GtkLabel + lblName + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 0 0 - False - False - False - False - False - False - - + + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + - - GtkEntry - txtSourceType - False - True - False - True - 0 - - - 3 - 10 - 1 - 2 + + GtkLabel + lblEmailAddress + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 0 0 - True - False - False - False - True - False - - + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False + + - - GtkOptionMenu - omenuSourceAuth - True - Plain Text -Kerberos -CRAM-MD5 -DIGEST-MD5 - - 0 - - 4 - 10 - 6 - 7 + + GtkLabel + lblReplyTo + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 0 0 - False - False - False - False - True - False - - - - - - GtkTable - tableOutgoingServer - 5 - 10 - True - 0 - 0 - - 0 - False - False - + + 0 + 1 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + + - - GtkHBox - hbox32 - False - 0 - - 0 - 10 - 0 - 1 + + GtkLabel + lblOrganization + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 0 0 - True - True - False - False - True - True - + + 0 + 1 + 3 + 4 + 0 + 0 + False + False + False + False + True + False + + GtkLabel - lblOutgoingMailServer - + lblSignature + GTK_JUSTIFY_CENTER False - 0.5 + 0 0.5 0 0 - 10 - False - False + 0 + 1 + 4 + 5 + 0 + 0 + False + False + False + False + True + False + + + + + GtkEntry + txtName + True + True + True + 0 + + + 1 + 2 + 0 + 1 + 0 + 0 + True + False + False + False + True + False + + + + + GtkEntry + txtAddress + True + True + True + 0 + + + 1 + 2 + 1 + 2 + 0 + 0 + True + False + False + False + True + False + + + + + GtkEntry + txtReplyTo + True + True + True + 0 + + + 1 + 2 + 2 + 3 + 0 + 0 + True + False + False + False + True + False - GtkHSeparator - hseparator5 + GtkEntry + txtOrganization + True + True + True + 0 + - 10 - True - True + 1 + 2 + 3 + 4 + 0 + 0 + True + False + False + False + True + False - - - - GtkEntry - txtTransportHost - True - True - True - 0 - - - 3 - 10 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - - - - - GtkCheckButton - chkTransportSSL - False - True - - False - True - - 1 - 10 - 4 - 5 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblOutgoingServerType - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 1 - 2 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblTransportHost - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 2 - 3 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblTransportAuth - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 3 - 4 - 0 - 0 - False - False - False - False - False - False - - - - GtkOptionMenu - omenuTransportAuth - True - None -CRAM-MD5 - - 0 - - 4 - 10 - 3 - 4 - 0 - 0 - False - False - False - False - True - False - - + + GnomeFileEntry + fileSignature + 10 + Select signature file + False + True + + 1 + 2 + 4 + 5 + 0 + 0 + True + False + False + False + True + False + - - GtkOptionMenu - omenuTransportType - True - Sendmail -SMTP - - 0 - - 3 - 10 - 1 - 2 - 0 - 0 - False - False - False - False - True - False - + + GtkEntry + GnomeEntry:entry + txtSignature + True + True + True + 0 + + + @@ -2803,8 +2574,8 @@ SMTP GtkLabel Notebook:tab - lblServers - + lblGeneral + GTK_JUSTIFY_CENTER False 0.5 @@ -2814,252 +2585,371 @@ SMTP - GtkVBox - vbox36 - 5 + GtkTable + tableSource + 4 + 8 + 2 False - 0 + 4 + 4 - GtkTable - tableServerTimeouts - 5 - 10 - True - 0 - 0 + GtkLabel + lblIncomingServerType + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 - 0 - False - True + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + - - GtkHBox - hbox34 - False - 0 - - 0 - 10 - 0 - 1 - 0 - 0 - True - False - False - False - True - True - + + GtkLabel + lblSourceHost + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False + + - - GtkLabel - lblMisc - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 10 - False - False - - + + GtkEntry + txtSourceHost + True + True + True + 0 + + + 1 + 2 + 1 + 2 + 0 + 0 + True + False + False + False + True + False + + - - GtkHSeparator - hseparator7 - - 10 - True - True - - - + + GtkLabel + lblSourceUser + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 3 + 4 + 0 + 0 + False + False + False + False + True + False + + - - GtkLabel - lblSourcePath - - GTK_JUSTIFY_LEFT - False - 7.45058e-09 - 0.5 + + GtkEntry + txtSourceUser + True + True + True + 0 + + + 1 + 2 + 3 + 4 0 0 - - 1 - 3 - 1 - 2 - 0 - 0 - False - False - False - False - False - False - - + True + False + False + False + True + False + + - - GtkCheckButton - chkKeepMailOnServer - True - - True - True - - 1 - 10 - 2 - 3 - 0 - 0 - False - False - False - False - False - False - - + + GtkLabel + lblSourcePasswd + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 4 + 5 + 0 + 0 + False + False + False + False + True + False + + - - GtkEntry - txtSourcePath - True - True - True - 0 - - - 3 - 10 - 1 - 2 - 0 - 0 - True - False - False - False - True - False - - + + GtkEntry + txtSourcePasswd + True + True + False + 0 + + + 1 + 2 + 4 + 5 + 0 + 0 + True + False + False + False + True + False + + - - GtkCheckButton - chkEnabled - True - - False - True - - 1 - 10 - 4 - 5 - 0 - 0 - False - False - False - False - True - False - - + + GtkCheckButton + chkSourceSavePasswd + True + + False + True + + 1 + 2 + 5 + 6 + 0 + 0 + False + False + False + False + True + False + + - - GtkHBox - hbox40 - False - 0 - - 1 - 10 - 3 - 4 - 0 - 0 - False - True - False - False - True - True - + + GtkCheckButton + chkSourceSSL + True + + False + True + + 0 + 2 + 7 + 8 + 0 + 0 + False + False + False + False + True + False + + + + + GtkLabel + lblSourcePath + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 6 + 7 + 0 + 0 + False + False + False + False + True + False + + - - GtkCheckButton - chkAutoCheckMail - True - - False - True - - 0 - False - False - - + + GtkEntry + txtSourcePath + True + True + True + 0 + + + 1 + 2 + 6 + 7 + 0 + 0 + True + False + False + False + True + False + + - - GtkSpinButton - spinAutoCheckTimeout - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 10 - 0 - 100 - 1 - 10 - 10 - - 0 - False - True - - + + GtkLabel + lblSourceAuth + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + + - - GtkLabel - lblMinutes - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - + + GtkOptionMenu + omenuSourceAuth + True + Plain Text +Kerberos +CRAM-MD5 +DIGEST-MD5 + + 0 + + 1 + 2 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + + + + + GtkLabel + txtSourceType + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 1 + 2 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + GtkLabel Notebook:tab - lblAdvanced - + lblSource + GTK_JUSTIFY_CENTER False 0.5 @@ -3067,305 +2957,319 @@ SMTP 0 0 - - - - - - GnomeDialog - mail-accounts-dialog - False - Evolution Mail Configuration - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_CENTER - False - 350 - 240 - False - True - True - False - False - - - GtkVBox - GnomeDialog:vbox - vbox37 - False - 8 - - 4 - True - True - - - - GtkHButtonBox - GnomeDialog:action_area - hbuttonbox2 - GTK_BUTTONBOX_END - 8 - 85 - 27 - 7 - 0 - - 0 - False - True - GTK_PACK_END - - - - GtkButton - cmdOK - True - True - GNOME_STOCK_BUTTON_OK - - - - GtkButton - cmdCancel - True - True - GNOME_STOCK_BUTTON_CANCEL - - - - - GtkNotebook - notebook - True - True - True - GTK_POS_TOP - False - 2 - 2 - False - - 0 - True - True - - GtkHBox - hbox36 + GtkTable + tableTransport + 4 + 7 + 2 False - 0 + 4 + 4 - GtkScrolledWindow - scrolledwindow1 - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS + GtkLabel + lblOutgoingServerType + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 - 0 - True - True + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False - - - GtkCList - clistAccounts - True - 2 - 150,80 - GTK_SELECTION_SINGLE - True - GTK_SHADOW_IN - - - GtkLabel - CList:title - lblAccount - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkLabel - CList:title - lblType - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - GtkVButtonBox - vbuttonbox1 - GTK_BUTTONBOX_START - 0 - 85 - 27 - 7 - 0 + GtkOptionMenu + omenuTransportType + True + Sendmail +SMTP + + 0 - 0 - False - False + 1 + 2 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + - - GtkButton - cmdMailAdd - True - True - - GTK_RELIEF_NORMAL - - - - GtkButton - cmdMailEdit - True - True - - GTK_RELIEF_NORMAL - - - - GtkButton - cmdMailDelete - True - True - - GTK_RELIEF_NORMAL - - - - GtkButton - cmdMailDefault - True - True - - GTK_RELIEF_NORMAL - + + GtkLabel + lblTransportHost + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False + - - - GtkLabel - Notebook:tab - lblMail - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - + + GtkEntry + txtTransportHost + True + True + True + 0 + + + 1 + 2 + 1 + 2 + 0 + 0 + True + False + False + False + True + False + + - - GtkHBox - hbox37 - False - 0 + + GtkLabel + lblTransportUser + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 3 + 4 + 0 + 0 + False + False + False + False + True + False + + - GtkScrolledWindow - scrolledwindow2 - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS + GtkEntry + txtTransportUser + True + True + True + 0 + - 0 - True - True + 1 + 2 + 3 + 4 + 0 + 0 + True + False + False + False + True + False + - - GtkCList - clistNews - True - 1 - 80 - GTK_SELECTION_SINGLE - True - GTK_SHADOW_IN + + GtkLabel + lblTransportPasswd + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 4 + 5 + 0 + 0 + False + False + False + False + True + False + + - - GtkLabel - CList:title - lblSources - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - + + GtkEntry + txtTransportPasswd + True + True + False + 0 + + + 1 + 2 + 4 + 5 + 0 + 0 + True + False + False + False + True + False + - GtkVButtonBox - vbuttonbox2 - GTK_BUTTONBOX_START - 0 - 85 - 27 - 7 - 0 + GtkLabel + lblTransportAuth + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 - 0 - False - False + 0 + 1 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + - - GtkButton - cmdNewsAdd - True - True - - GTK_RELIEF_NORMAL - + + GtkOptionMenu + omenuTransportAuth + True + None +CRAM-MD5 + + 0 + + 1 + 2 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + + - - GtkButton - cmdNewsEdit - True - True - - GTK_RELIEF_NORMAL - + + GtkCheckButton + chkTransportSSL + True + + False + True + + 0 + 2 + 6 + 7 + 0 + 0 + False + False + False + False + True + False + + - - GtkButton - cmdNewsDelete - True - True - - GTK_RELIEF_NORMAL - + + GtkCheckButton + chkTransportSavePasswd + True + + False + True + + 1 + 2 + 5 + 6 + 0 + 0 + False + False + False + False + True + False + GtkLabel Notebook:tab - lblNews - + lblTransport + GTK_JUSTIFY_CENTER False 0.5 @@ -3376,29 +3280,15 @@ SMTP GtkVBox - vbox38 + vboxAdvanced False - 4 - - - GtkCheckButton - chkSendHTML - True - - False - True - - 0 - False - False - - + 0 GtkHBox - hbox38 + hboxAutoCheckMail False - 0 + 4 0 False @@ -3406,15 +3296,12 @@ SMTP - GtkLabel - lblMarkAsRead - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 4 - 0 + GtkCheckButton + chkAutoCheckMail + True + + False + True 0 False @@ -3424,20 +3311,21 @@ SMTP GtkSpinButton - spinMarkTimeout + spinAutoCheckTimeout + False True 1 - 1 + 0 True - GTK_UPDATE_IF_VALID + GTK_UPDATE_ALWAYS False False - 1.5 + 10 0 - 10 - 0.1 - 1 - 1 + 100 + 1 + 10 + 10 0 False @@ -3447,13 +3335,13 @@ SMTP GtkLabel - lblSeconds - + lblMinutes + GTK_JUSTIFY_CENTER False 0.5 0.5 - 4 + 0 0 0 @@ -3464,65 +3352,39 @@ SMTP - GtkHBox - hbox41 - False - 0 + GtkCheckButton + chkKeepMailOnServer + True + + False + True 0 False - True + False + - - GtkLabel - lblPgpPath - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 4 - 0 - - 0 - False - False - - - - - GnomeFileEntry - filePgpPath - 10 - Select PGP binary - False - True - - 4 - True - True - - - - GtkEntry - GnomeEntry:entry - combo-entry1 - True - True - True - 0 - - - + + GtkCheckButton + chkEnabled + True + + False + True + + 0 + False + False + GtkLabel Notebook:tab - lblOther - + lblAdvanced + GTK_JUSTIFY_CENTER False 0.5 -- cgit v1.2.3