From 1a2b409d707b19f29d896e44116b6bd31903c809 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 17 Jan 2001 22:38:15 +0000 Subject: Anna's dialog now supports SSL so we can get rid of the ssl-support 2001-01-17 Jeffrey Stedfast * mail-account-editor.c (construct): Anna's dialog now supports SSL so we can get rid of the ssl-support checks. Also work around the fact that Anna's dialog doesn't have an optionmenu for the transport type, it's a label instead. (transport_type_init): Cast the transport_type widget to a GtkOptionMenu where appropriate as the widget that stores it is now generic. (apply_changes): Modify code to work with anna's dialog...*sigh* (ok_clicked): Alert the user that one or more servers failed to validate and allow him to continue anyway. svn path=/trunk/; revision=7601 --- mail/ChangeLog | 13 + mail/mail-account-editor.c | 63 +- mail/mail-account-editor.h | 4 +- mail/mail-config.glade | 2410 +++++++++++++++++++++----------------------- mail/mail-config.glade.h | 75 +- 5 files changed, 1266 insertions(+), 1299 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 46afc6b92d..0096395695 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,16 @@ +2001-01-17 Jeffrey Stedfast + + * mail-account-editor.c (construct): Anna's dialog now supports + SSL so we can get rid of the ssl-support checks. Also work around + the fact that Anna's dialog doesn't have an optionmenu for the + transport type, it's a label instead. + (transport_type_init): Cast the transport_type widget to a + GtkOptionMenu where appropriate as the widget that stores it is + now generic. + (apply_changes): Modify code to work with anna's dialog...*sigh* + (ok_clicked): Alert the user that one or more servers failed to + validate and allow him to continue anyway. + 2001-01-17 Jeffrey Stedfast * mail-config.c (mail_config_set_pgp_path): New config function to diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c index 5a08db93a8..f3320e2592 100644 --- a/mail/mail-account-editor.c +++ b/mail/mail-account-editor.c @@ -183,7 +183,16 @@ apply_changes (MailAccountEditor *editor) /* transport */ transport_url = g_new0 (CamelURL, 1); - transport_url->protocol = g_strdup (editor->transport->protocol); + if (editor->transport) { + transport_url->protocol = g_strdup (editor->transport->protocol); + } else { + /* workaround for anna's dialog */ + CamelURL *url; + + url = camel_url_new (account->transport->url, NULL); + transport_url->protocol = g_strdup (url->protocol); + camel_url_free (url); + } str = gtk_object_get_data (GTK_OBJECT (editor), "transport_authmech"); transport_url->authmech = str && *str ? g_strdup (str) : NULL; @@ -229,7 +238,7 @@ apply_changes (MailAccountEditor *editor) } /* check to make sure the transport works */ - if (mail_config_check_service (transport_url, CAMEL_PROVIDER_TRANSPORT, NULL)) { + if (!mail_config_check_service (transport_url, CAMEL_PROVIDER_TRANSPORT, NULL)) { /* set the new transport url */ g_free (account->transport->url); account->transport->url = camel_url_to_string (transport_url, FALSE); @@ -257,8 +266,25 @@ ok_clicked (GtkWidget *widget, gpointer data) { MailAccountEditor *editor = data; - if (apply_changes (editor)) + if (apply_changes (editor)) { gtk_widget_destroy (GTK_WIDGET (editor)); + } else { + GtkWidget *mbox; + + mbox = gnome_message_box_new (_("One or more of your servers are not configured correctly.\n" + "Do you wish to save anyway?"), + GNOME_MESSAGE_BOX_WARNING, + GNOME_STOCK_BUTTON_YES, + GNOME_STOCK_BUTTON_NO, NULL); + + gnome_dialog_set_default (GNOME_DIALOG (mbox), 1); + gtk_widget_grab_focus (GTK_WIDGET (GNOME_DIALOG (mbox)->buttons->data)); + + gnome_dialog_set_parent (GNOME_DIALOG (mbox), GTK_WINDOW (editor)); + + if (gnome_dialog_run_and_close (GNOME_DIALOG (mbox)) == 0) + gtk_widget_destroy (GTK_WIDGET (editor)); + } } static void @@ -459,7 +485,7 @@ transport_type_init (MailAccountEditor *editor, CamelURL *url) guint i = 0, history = 0; menu = gtk_menu_new (); - gtk_option_menu_remove_menu (editor->transport_auth); + gtk_option_menu_remove_menu (GTK_OPTION_MENU (editor->transport_auth)); providers = camel_session_list_providers (session, TRUE); l = providers; @@ -495,11 +521,11 @@ transport_type_init (MailAccountEditor *editor, CamelURL *url) l = l->next; } - gtk_option_menu_set_menu (editor->transport_type, menu); + gtk_option_menu_set_menu (GTK_OPTION_MENU (editor->transport_type), menu); if (xport) { gtk_signal_emit_by_name (GTK_OBJECT (xport), "activate", editor); - gtk_option_menu_set_history (editor->transport_type, history); + gtk_option_menu_set_history (GTK_OPTION_MENU (editor->transport_type), history); } } @@ -591,18 +617,18 @@ source_check (MailAccountEditor *editor, CamelURL *url) static void construct (MailAccountEditor *editor, const MailConfigAccount *account) { + GtkWidget *toplevel, *entry; GladeXML *gui; - GtkWidget *notebook, *entry; CamelURL *url; gui = glade_xml_new (EVOLUTION_GLADEDIR "/mail-config.glade", "mail-account-editor"); editor->gui = gui; /* get our toplevel widget */ - notebook = glade_xml_get_widget (gui, "toplevel"); + toplevel = glade_xml_get_widget (gui, "toplevel"); /* reparent */ - gtk_widget_reparent (notebook, GNOME_DIALOG (editor)->vbox); + gtk_widget_reparent (toplevel, GNOME_DIALOG (editor)->vbox); /* give our dialog an OK button and title */ gtk_window_set_title (GTK_WINDOW (editor), _("Evolution Account Editor")); @@ -626,9 +652,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) /* General */ editor->account_name = GTK_ENTRY (glade_xml_get_widget (gui, "txtAccountName")); - /* Anna's dialog doesn't have a way to edit the Account name... */ - if (editor->account_name) - gtk_entry_set_text (editor->account_name, account->name); + gtk_entry_set_text (editor->account_name, account->name); gtk_signal_connect (GTK_OBJECT (editor->account_name), "changed", entry_changed, editor); editor->name = GTK_ENTRY (glade_xml_get_widget (gui, "txtName")); gtk_entry_set_text (editor->name, account->id->name); @@ -673,8 +697,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->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")); - if (editor->source_ssl) - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->source_ssl), account->source->use_ssl); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->source_ssl), account->source->use_ssl); editor->keep_on_server = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkKeepMailOnServer")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->keep_on_server), account->source->keep_on_server); source_check (editor, url); @@ -688,7 +711,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) else url = NULL; - editor->transport_type = GTK_OPTION_MENU (glade_xml_get_widget (gui, "omenuTransportType")); + editor->transport_type = glade_xml_get_widget (gui, "omenuTransportType"); editor->transport_host = GTK_ENTRY (glade_xml_get_widget (gui, "txtTransportHost")); gtk_entry_set_text (editor->transport_host, url && url->host ? url->host : ""); if (url && url->port) { @@ -699,9 +722,13 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account) } editor->transport_auth = GTK_OPTION_MENU (glade_xml_get_widget (gui, "omenuTransportAuth")); editor->transport_ssl = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkTransportSSL")); - if (editor->transport_ssl) - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->transport_ssl), account->transport->use_ssl); - transport_type_init (editor, url); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (editor->transport_ssl), account->transport->use_ssl); + if (GTK_IS_OPTION_MENU (editor->transport_type)) + transport_type_init (editor, url); + else + gtk_label_set_text (GTK_LABEL (editor->transport_type), + url && url->protocol ? url->protocol : _("None")); + if (url) camel_url_free (url); diff --git a/mail/mail-account-editor.h b/mail/mail-account-editor.h index cd782ef800..d9c318ea8d 100644 --- a/mail/mail-account-editor.h +++ b/mail/mail-account-editor.h @@ -53,7 +53,7 @@ struct _MailAccountEditor { GtkEntry *organization; GnomeFileEntry *signature; - GtkWidget *source_type; + GtkWidget *source_type; /* this is generic because we don't know the widget-type */ GtkEntry *source_host; GtkEntry *source_user; GtkEntry *source_passwd; @@ -62,7 +62,7 @@ struct _MailAccountEditor { GtkOptionMenu *source_auth; GtkCheckButton *source_ssl; - GtkOptionMenu *transport_type; + GtkWidget *transport_type; /* Same here... */ GtkEntry *transport_host; GtkOptionMenu *transport_auth; GtkCheckButton *transport_ssl; diff --git a/mail/mail-config.glade b/mail/mail-config.glade index 2952d544c9..bb0eb4149b 100644 --- a/mail/mail-config.glade +++ b/mail/mail-config.glade @@ -1364,12 +1364,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 @@ -1379,7 +1381,7 @@ Click "Finish" to save your settings. GtkVBox GnomeDialog:vbox - dialog-vbox3 + vbox37 False 8 @@ -1391,7 +1393,7 @@ Click "Finish" to save your settings. GtkHButtonBox GnomeDialog:action_area - dialog-action_area3 + hbuttonbox2 GTK_BUTTONBOX_END 8 85 @@ -1413,14 +1415,6 @@ Click "Finish" to save your settings. GNOME_STOCK_BUTTON_OK - - GtkButton - cmdApply - True - True - GNOME_STOCK_BUTTON_APPLY - - GtkButton cmdCancel @@ -1432,7 +1426,7 @@ Click "Finish" to save your settings. GtkNotebook - toplevel + notebook True True True @@ -1448,415 +1442,107 @@ 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 - lblDirections - - GTK_JUSTIFY_LEFT - True - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkEntry - txtAccountName - True - True - True - 0 - - - 5 - False - False - - - - - - GtkTable - tableUserInfo - 6 - 10 - True - 4 - 0 - - 0 - False - True - - - - GtkHBox - hbox35 - False - 0 - - 0 - 10 - 0 - 1 - 0 - 0 - True - True - False - False - True - True - GtkLabel - lblUserInfo - + CList:title + lblType + 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 + vbuttonbox1 + GTK_BUTTONBOX_START + 0 + 85 + 27 + 7 + 0 + + 0 + False + False + - GtkEntry - txtAddress + GtkButton + cmdMailAdd + True True - True - True - 0 - - - 4 - 10 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - + - GtkEntry - txtReplyTo + GtkButton + cmdMailEdit + True True - True - True - 0 - - - 4 - 10 - 3 - 4 - 0 - 0 - True - False - False - False - True - False - + - GtkEntry - txtOrganization + GtkButton + cmdMailDelete + True True - True - True - 0 - - - 4 - 10 - 4 - 5 - 0 - 0 - True - False - False - False - True - False - - - - - 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 - lblName - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 1 - 2 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblEMail - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 2 - 3 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblReplyTo - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 3 - 4 - 0 - 0 - False - False - False - False - False - False - - - - - GtkLabel - lblOrganization - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 4 - 5 - 0 - 0 - False - False - False - False - False - False - + - GtkLabel - lblSignature - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 5 - 6 - 0 - 0 - False - False - False - False - False - False - + GtkButton + cmdMailDefault + True + True + @@ -1864,8 +1550,8 @@ Click "Finish" to save your settings. GtkLabel Notebook:tab - lblGeneral - + lblMail + GTK_JUSTIFY_CENTER False 0.5 @@ -1875,806 +1561,1075 @@ Click "Finish" to save your settings. - GtkVBox - vbox34 - 5 + GtkHBox + hbox37 False 0 - GtkTable - tableIncomingServer - 8 - 10 - True - 0 - 0 + GtkScrolledWindow + scrolledwindow2 + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS 0 - False - False + True + True - GtkHBox - hbox31 - False - 0 - - 0 - 10 - 0 - 1 - 0 - 0 - True - True - False - False - True - True - - - - GtkLabel - lblIncomingMailServer - - GTK_JUSTIFY_CENTER - False - 0.5 + GtkCList + clistNews + True + 1 + 80 + GTK_SELECTION_SINGLE + True + GTK_SHADOW_IN + + + GtkLabel + CList:title + lblSources + + GTK_JUSTIFY_CENTER + False + 0.5 0.5 0 0 - - 10 - False - False - - - - - GtkHSeparator - hseparator4 - - 10 - True - True - + - - GtkCheckButton - chkSavePasswd - True - - False - True - - 4 - 10 - 5 - 6 - 0 - 0 - False - False - False - False - True - False - - + + GtkVButtonBox + vbuttonbox2 + GTK_BUTTONBOX_START + 0 + 85 + 27 + 7 + 0 + + 0 + False + False + - GtkOptionMenu - omenuSourceAuth + GtkButton + cmdNewsAdd + True True - Plain Text -Kerberos -CRAM-MD5 -DIGEST-MD5 - - 0 - - 4 - 10 - 6 - 7 - 0 - 0 - False - False - False - False - True - False - + - GtkEntry - txtSourceHost + GtkButton + cmdNewsEdit + True True - True - True - 0 - - - 3 - 10 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - + - GtkEntry - txtSourceUser + GtkButton + cmdNewsDelete + True 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 - - + + GtkLabel + Notebook:tab + lblNews + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + + + - - GtkCheckButton - chkSourceSSL - False - True - - False - True - - 1 - 10 - 7 - 8 - 0 - 0 - False - False - False - False - False - False - - + + GnomeDialog + mail-account-editor + False + Edit Mail Configuration Settings + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + False + True + 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 - - + + GtkVBox + GnomeDialog:vbox + dialog-vbox1 + False + 8 + + 4 + True + True + - - GtkLabel - lblSourcePasswd - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 4 - 5 - 0 - 0 - False - False - False - False - False - False - - + + GtkHButtonBox + GnomeDialog:action_area + dialog-action_area1 + GTK_BUTTONBOX_END + 8 + 85 + 27 + 7 + 0 + + 0 + False + True + GTK_PACK_END + - - GtkLabel - lblSourceAuth - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 6 - 7 - 0 - 0 - False - False - False - False - False - False - - + + GtkButton + button3 + True + True + GNOME_STOCK_BUTTON_OK + - - GtkLabel - lblSourceHost - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 2 - 3 - 0 - 0 - False - False - False - False - False - False - - + + GtkButton + button4 + True + True + GNOME_STOCK_BUTTON_APPLY + - - GtkLabel - lblIncomingServerType - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 3 - 1 - 2 - 0 - 0 - False - False - False - False - False - False - - + + GtkButton + button5 + True + True + GNOME_STOCK_BUTTON_CANCEL + + - - GtkEntry - txtSourceType - False - True - False - True - 0 - - - 3 - 10 - 1 - 2 - 0 - 0 - True - False - False - False - True - False - - - + + GtkVBox + toplevel + False + 0 + + 0 + False + True + + + + GtkFrame + identity-frame + 3 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + True + True + - GtkTable - tableOutgoingServer - 5 - 10 - True - 0 - 0 - - 0 - False - False - + GtkVBox + vbox28 + False + 0 - GtkHBox - hbox32 + GtkTable + table14 + 4 + 3 + 2 False - 0 + 4 + 4 - 0 - 10 - 0 - 1 - 0 - 0 - True - True - False - False - True - True + 0 + True + True GtkLabel - lblOutgoingMailServer - - GTK_JUSTIFY_CENTER + lblAccountName + + GTK_JUSTIFY_LEFT False - 0.5 + 0 0.5 0 0 - 10 - False - False + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + False + False - GtkHSeparator - hseparator5 + GtkLabel + lblName + + GTK_JUSTIFY_LEFT + False + 0 + 0.5 + 0 + 0 - 10 - True - True + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False - - - GtkOptionMenu - omenuTransportAuth - True - None -CRAM-MD5 - - 0 - - 4 - 10 - 3 - 4 + + GtkLabel + lblAddress + + GTK_JUSTIFY_LEFT + False + 0 + 0.5 0 0 - False - False - False - False - True - False - + + 0 + 1 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + + + + + GtkEntry + txtAddress + True + True + True + 50 + + + 1 + 2 + 2 + 3 + 0 + 0 + True + False + False + False + True + False + + + + + GtkEntry + txtName + 80 + 20 + True + True + True + True + 50 + + + 1 + 2 + 1 + 2 + 0 + 0 + True + False + False + False + True + False + + + + + GtkEntry + txtAccountName + True + True + True + 0 + + + 1 + 2 + 0 + 1 + 0 + 0 + True + False + False + False + True + False + + - GtkEntry - txtTransportHost - True - True - True - 0 - + GtkHBox + hbox24 + False + 0 - 3 - 10 - 2 - 3 - 0 - 0 - True - False - False - False - True - False + 0 + True + True + + + GtkButton + cmdOptionalFields + True + True + + + 0 + False + False + GTK_PACK_END + + + + + + + GtkFrame + receiving-frame + 3 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + True + True + + + + GtkVBox + vbox26 + False + 0 - GtkOptionMenu - omenuTransportType - True - Sendmail -SMTP - - 0 + GtkTable + table12 + 4 + 6 + 2 + False + 4 + 4 - 3 - 10 - 1 - 2 + 4 + False + True + + + + GtkEntry + txtSourcePath + True + True + True + 0 + + + 1 + 2 + 4 + 5 + 0 + 0 + True + False + False + False + True + False + + + + + GtkEntry + txtSourcePasswd + True + True + True + 0 + + + 1 + 2 + 3 + 4 + 0 + 0 + True + False + False + False + True + False + + + + + GtkEntry + txtSourceUser + True + True + True + 0 + + + 1 + 2 + 2 + 3 + 0 + 0 + True + False + False + False + True + False + + + + + GtkEntry + txtSourceHost + True + True + True + 0 + + + 1 + 2 + 1 + 2 + 0 + 0 + True + False + False + False + True + False + + + + + GtkLabel + lblSourceType + + GTK_JUSTIFY_LEFT + False + 0 + 0.5 0 0 - False - False - False - False - True - False - - + + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + - - GtkCheckButton - chkTransportSSL - False - True - - False - True - - 1 - 10 - 4 - 5 + + GtkLabel + lblSourceHost + + GTK_JUSTIFY_LEFT + False + 7.45058e-09 + 0.5 0 0 - False - False - False - False - False - False - - + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False + + + + + GtkLabel + lblSourceUser + + GTK_JUSTIFY_LEFT + False + 7.45058e-09 + 0.5 + 0 + 0 + + 0 + 1 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + + + + + GtkLabel + lblSourcePath + + GTK_JUSTIFY_LEFT + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 4 + 5 + 0 + 0 + False + False + False + False + True + False + + + + + GtkLabel + lblSourceAuth + + GTK_JUSTIFY_LEFT + False + 7.45058e-09 + 0.5 + 0 + 0 + + 0 + 1 + 5 + 6 + 0 + 0 + False + False + False + False + False + False + + + + + GtkLabel + lblSourcePasswd + + GTK_JUSTIFY_RIGHT + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 3 + 4 + 0 + 0 + False + False + False + False + True + False + + + + + GtkOptionMenu + omenuSourceAuth + True + Kerberos +Plain-text Password + + 0 + + 1 + 2 + 5 + 6 + 0 + 0 + False + False + False + False + True + False + + + + + GtkHBox + hbox25 + False + 0 + + 1 + 2 + 0 + 1 + 0 + 0 + False + False + False + False + True + True + + + + GtkLabel + txtSourceType + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + 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 - + + GtkCheckButton + chkSourceSSL + 3 + True + + False + True + + 0 + False + False + GTK_PACK_END + + + - GtkLabel - lblTransportHost - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 + GtkHBox + hbox21 + False + 0 - 1 - 3 - 2 - 3 - 0 - 0 - False - False - False - False - False - False + 0 + False + True - - - GtkLabel - lblTransportAuth - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - - 1 - 4 - 3 - 4 - 0 - 0 - False - False - False - False - False - False - + + GtkCheckButton + chkKeepMailOnServer + 3 + True + + False + True + + 2 + False + True + + + + + GtkCheckButton + chkSavePasswd + True + + False + True + + 0 + False + False + GTK_PACK_END + + - GtkLabel - Notebook:tab - lblServers - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkVBox - vbox36 - 5 - False - 0 + GtkFrame + sending-frame + 3 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + True + True + - GtkTable - tableServerTimeouts - 3 - 10 - True - 0 - 0 - - 0 - False - True - + GtkVBox + vbox27 + False + 0 - GtkHBox - hbox34 + GtkTable + table13 + 4 + 3 + 2 False - 0 + 4 + 4 - 0 - 10 - 0 - 1 - 0 - 0 - True - False - False - False - True - True + 4 + False + True GtkLabel - lblMisc - - GTK_JUSTIFY_CENTER + lblTransportHost + + GTK_JUSTIFY_LEFT False - 0.5 + 0 0.5 0 0 - 10 - False - False + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False - GtkHSeparator - hseparator7 + GtkEntry + txtTransportHost + True + True + True + 0 + - 10 - True - True + 1 + 2 + 1 + 2 + 0 + 0 + True + False + False + False + True + False - - - GtkLabel - lblSourcePath - - GTK_JUSTIFY_LEFT - False - 7.45058e-09 - 0.5 - 0 - 0 - - 1 - 3 - 1 - 2 + + GtkLabel + lblTransportType + + GTK_JUSTIFY_LEFT + 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 - txtSourcePath - True - True - True - 0 - - - 3 - 10 - 1 - 2 + + GtkLabel + lblTransportAuth + + GTK_JUSTIFY_LEFT + False + 7.45058e-09 + 0.5 0 0 - True - False - False - False - True - False - + + 0 + 1 + 2 + 3 + 0 + 0 + False + False + False + False + False + False + + + + + GtkOptionMenu + omenuTransportAuth + True + Kerberos +Plain-text Password + + 0 + + 1 + 2 + 2 + 3 + 0 + 0 + False + False + False + False + True + False + + + + + GtkHBox + hbox26 + False + 0 + + 1 + 2 + 0 + 1 + 0 + 0 + False + False + False + False + True + True + + + + GtkLabel + omenuTransportType + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GtkCheckButton + chkTransportSSL + 3 + True + + False + True + + 0 + False + False + GTK_PACK_END + + + - GtkCheckButton - chkKeepMailOnServer - True - - True - True + GtkHBox + hbox22 + False + 0 - 1 - 10 - 2 - 3 - 0 - 0 - False - False - False - False - False - False + 0 + False + True + + + GtkHButtonBox + hbuttonbox5 + GTK_BUTTONBOX_END + 30 + 85 + 27 + 7 + 0 + + 0 + True + True + + - - - GtkLabel - Notebook:tab - lblAdvanced - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - GnomeDialog - mail-accounts-dialog - False - Evolution Mail Configuration + optional-identity-info + Additional Identity Fields GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_CENTER + GTK_WIN_POS_NONE False - 350 - 240 False - True - True + False + False False False GtkVBox GnomeDialog:vbox - vbox37 + dialog-vbox3 False 8 @@ -2686,7 +2641,7 @@ SMTP GtkHButtonBox GnomeDialog:action_area - hbuttonbox2 + dialog-action_area3 GTK_BUTTONBOX_END 8 85 @@ -2702,7 +2657,7 @@ SMTP GtkButton - cmdOK + button21 True True GNOME_STOCK_BUTTON_OK @@ -2710,7 +2665,7 @@ SMTP GtkButton - cmdCancel + button23 True True GNOME_STOCK_BUTTON_CANCEL @@ -2718,238 +2673,215 @@ SMTP - GtkNotebook - notebook - True - True - True - GTK_POS_TOP - False - 2 - 2 - False + GtkFrame + frame19 + 3 + 102 + + 0 + GTK_SHADOW_ETCHED_IN - 0 + 3 True True - GtkHBox - hbox36 + GtkTable + table15 + 4 + 3 + 2 False - 0 + 4 + 4 - GtkScrolledWindow - scrolledwindow1 - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS + GtkLabel + label106 + + GTK_JUSTIFY_LEFT + False + 7.45058e-09 + 0.5 + 0 + 0 - 0 - True - True + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + False + 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 - - + + GtkLabel + label107 + + GTK_JUSTIFY_LEFT + False + 7.45058e-09 + 0.5 + 0 + 0 + + 0 + 1 + 2 + 3 + 0 + 0 + False + False + False + False + False + False + - GtkVButtonBox - vbuttonbox1 - GTK_BUTTONBOX_START - 0 - 85 - 27 - 7 - 0 + GtkEntry + entry27 + True + True + True + 0 + - 0 - False - False + 1 + 2 + 1 + 2 + 0 + 0 + True + False + False + False + True + False + - - GtkButton - cmdMailAdd - True - True - - + + GtkHBox + hbox23 + False + 4 + + 1 + 2 + 2 + 3 + 0 + 0 + False + False + False + False + True + True + - GtkButton - cmdMailEdit - True - True - - + GtkCombo + combo1 + False + True + False + True + False + + + 0 + True + True + - - GtkButton - cmdMailDelete - True - True - + + GtkEntry + GtkCombo:entry + entry28 + True + True + True + 0 + + GtkButton - cmdMailDefault - True + button26 True - + + + 0 + False + False + - - - - GtkLabel - Notebook:tab - lblMail - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkHBox - hbox37 - False - 0 - GtkScrolledWindow - scrolledwindow2 - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS + GtkLabel + label108 + + GTK_JUSTIFY_LEFT + True + 0 + 0.5 + 0 + 0 - 0 - True - True + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False - - - GtkCList - clistNews - True - 1 - 80 - GTK_SELECTION_SINGLE - True - GTK_SHADOW_IN - - - GtkLabel - CList:title - lblSources - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - GtkVButtonBox - vbuttonbox2 - GTK_BUTTONBOX_START - 0 - 85 - 27 - 7 - 0 + GtkEntry + entry29 + True + True + True + 0 + - 0 - False - False + 1 + 2 + 0 + 1 + 1 + 0 + True + False + False + False + True + False - - - GtkButton - cmdNewsAdd - True - True - - - - - GtkButton - cmdNewsEdit - True - True - - - - - GtkButton - cmdNewsDelete - True - True - - - - - GtkLabel - Notebook:tab - lblNews - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - diff --git a/mail/mail-config.glade.h b/mail/mail-config.glade.h index d73107a150..ff8af8dec6 100644 --- a/mail/mail-config.glade.h +++ b/mail/mail-config.glade.h @@ -44,46 +44,6 @@ gchar *s = N_("Congratulations, your mail configuration is complete.\n" "using Evolution. \n" "\n" "Click \"Finish\" to save your settings."); -gchar *s = N_("Account Properties"); -gchar *s = N_("Mail Account"); -gchar *s = N_("Type the name by which you would like to refer to these servers. For example: \"Work\" or \"Home\"."); -gchar *s = N_("User Information"); -gchar *s = N_("Select signature file"); -gchar *s = N_("Name:"); -gchar *s = N_("E-Mail Address:"); -gchar *s = N_("Reply-To:"); -gchar *s = N_("Organization:"); -gchar *s = N_("Signature:"); -gchar *s = N_("General"); -gchar *s = N_("Incoming Mail Server"); -gchar *s = N_("Save password"); -gchar *s = N_("Plain Text\n" - "Kerberos\n" - "CRAM-MD5\n" - "DIGEST-MD5\n" - ""); -gchar *s = N_("This server requires a secure connection (SSL)"); -gchar *s = N_("Username:"); -gchar *s = N_("Password:"); -gchar *s = N_("Authentication:"); -gchar *s = N_("Hostname:"); -gchar *s = N_("Type:"); -gchar *s = N_("Outgoing Mail Server"); -gchar *s = N_("None\n" - "CRAM-MD5\n" - ""); -gchar *s = N_("Sendmail\n" - "SMTP\n" - ""); -gchar *s = N_("This server requires a secure connection (SSL)"); -gchar *s = N_("Type:"); -gchar *s = N_("Hostname:"); -gchar *s = N_("Authentication:"); -gchar *s = N_("Servers"); -gchar *s = N_("Miscellaneous"); -gchar *s = N_("Path:"); -gchar *s = N_("Keep mail on server"); -gchar *s = N_("Advanced"); gchar *s = N_("Evolution Mail Configuration"); gchar *s = N_("Account"); gchar *s = N_("Type"); @@ -97,3 +57,38 @@ gchar *s = N_("Add"); gchar *s = N_("Edit"); gchar *s = N_("Delete"); gchar *s = N_("News"); +gchar *s = N_("Edit Mail Configuration Settings"); +gchar *s = N_("Account and Identity"); +gchar *s = N_("Account name:"); +gchar *s = N_("Full name:"); +gchar *s = N_("Email address:"); +gchar *s = N_("Add Optional Fields..."); +gchar *s = N_("Receiving Mail"); +gchar *s = N_("Server type:"); +gchar *s = N_("Server:"); +gchar *s = N_("Username:"); +gchar *s = N_("Path:"); +gchar *s = N_("Authentication:"); +gchar *s = N_("Password:"); +gchar *s = N_("Kerberos \n" + "Plain-text Password\n" + ""); +gchar *s = N_("IMAP"); +gchar *s = N_("Use SSL"); +gchar *s = N_("Leave mesages on server"); +gchar *s = N_("Save password"); +gchar *s = N_("Sending Mail"); +gchar *s = N_("Server:"); +gchar *s = N_("Server type:"); +gchar *s = N_("Authentication:"); +gchar *s = N_("Kerberos \n" + "Plain-text Password\n" + ""); +gchar *s = N_("SMTP"); +gchar *s = N_("Use SSL"); +gchar *s = N_("Additional Identity Fields"); +gchar *s = N_("Optional Information"); +gchar *s = N_("Organization:"); +gchar *s = N_("Signature file:"); +gchar *s = N_("Browse..."); +gchar *s = N_("Reply-to:"); -- cgit v1.2.3