aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-07 09:11:48 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-07 09:11:48 +0800
commit7aeeb5f282e3ab145d75489c8d93dc7fd49e9557 (patch)
tree3678dc4b853094bc67c0a11aeba91abc6dde8417 /mail/mail-account-editor.c
parentfbf4f214b5c7460e2f35ff45ca41fcbeab6ebdd2 (diff)
downloadgsoc2013-evolution-7aeeb5f282e3ab145d75489c8d93dc7fd49e9557.tar
gsoc2013-evolution-7aeeb5f282e3ab145d75489c8d93dc7fd49e9557.tar.gz
gsoc2013-evolution-7aeeb5f282e3ab145d75489c8d93dc7fd49e9557.tar.bz2
gsoc2013-evolution-7aeeb5f282e3ab145d75489c8d93dc7fd49e9557.tar.lz
gsoc2013-evolution-7aeeb5f282e3ab145d75489c8d93dc7fd49e9557.tar.xz
gsoc2013-evolution-7aeeb5f282e3ab145d75489c8d93dc7fd49e9557.tar.zst
gsoc2013-evolution-7aeeb5f282e3ab145d75489c8d93dc7fd49e9557.zip
Added key accelerators to a bunch of the config options and moved the Bcc
2001-08-06 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r--mail/mail-account-editor.c14
1 files changed, 10 insertions, 4 deletions
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);
}