From 7aeeb5f282e3ab145d75489c8d93dc7fd49e9557 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 7 Aug 2001 01:11:48 +0000 Subject: Added key accelerators to a bunch of the config options and moved the Bcc 2001-08-06 Jeffrey Stedfast * mail-config.glade: Added key accelerators to a bunch of the config options and moved the Bcc and empty-subject checkboxes to the composer tab where they belong. * mail-callbacks.c (providers_config): Raise the dialog if it exists already. (manage_subscriptions): Raise the dialog if it already exists. (main_select_first_unread): Removed (we haven't needed this code in ages). (select_first_unread): Same. (save_msg_ok): If the path is empty, just return. * mail-local.c (mail_local_reconfigure_folder): Raise the dialog if it already exists. svn path=/trunk/; revision=11719 --- mail/mail-account-editor.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'mail/mail-account-editor.c') diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c index f5084270d3..1f37511e96 100644 --- a/mail/mail-account-editor.c +++ b/mail/mail-account-editor.c @@ -70,10 +70,10 @@ static void mail_account_editor_class_init (MailAccountEditorClass *class) { GtkObjectClass *object_class; - + object_class = (GtkObjectClass *) class; parent_class = gtk_type_class (gnome_dialog_get_type ()); - + object_class->finalize = mail_account_editor_finalize; } @@ -81,7 +81,7 @@ static void mail_account_editor_finalize (GtkObject *obj) { MailAccountEditor *editor = (MailAccountEditor *) obj; - + mail_account_gui_destroy (editor->gui); ((GtkObjectClass *)(parent_class))->finalize (obj); } @@ -109,10 +109,16 @@ apply_changes (MailAccountEditor *editor) } mail_account_gui_save (editor->gui); + + /* FIXME: uh, what the hell is this for? */ account = editor->gui->account; /* save any changes we may have */ mail_config_write (); + + /* FIXME: #1549: if the account was a remote store, delete it from the folder-tree and re-add it */ + /* FIXME: preferably, we'd only do this if there were changes... oh well */ + return TRUE; } @@ -120,7 +126,7 @@ static void apply_clicked (GtkWidget *widget, gpointer data) { MailAccountEditor *editor = data; - + apply_changes (editor); } -- cgit