aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-10 03:29:18 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-10 03:29:18 +0800
commit18c8bea9516b25215772693b411f7067aacaf229 (patch)
treeebca9f161e049ce62f659118f5725e109dbf3121 /mail/mail-config-druid.c
parent0d54c483525a76d4eedd41b9e5f59c241139bed3 (diff)
downloadgsoc2013-evolution-18c8bea9516b25215772693b411f7067aacaf229.tar.gz
gsoc2013-evolution-18c8bea9516b25215772693b411f7067aacaf229.tar.zst
gsoc2013-evolution-18c8bea9516b25215772693b411f7067aacaf229.zip
For all optionmenu's, set the appropriate 'history'. (keep_mail_check):
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c: For all optionmenu's, set the appropriate 'history'. (keep_mail_check): Set the keep-on-server checkbutton sensitivity based on whether or not the store is a storage or not. (construct): Call keep_mail_check(). * mail-config-druid.c (incoming_type_changed): Set the keep-on-server checkbutton sensitivity based on whether or not the store is a storage or not. * mail-accounts.c (construct): Make sure the dialog isn't a scrunched little thingy. svn path=/trunk/; revision=7328
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index f59ede3869..0dc74375d4 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -402,6 +402,12 @@ incoming_type_changed (GtkWidget *widget, gpointer user_data)
else
gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_path), FALSE);
+ /* keep mail on server */
+ if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
+ gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_keep_mail), TRUE);
+ else
+ gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_keep_mail), FALSE);
+
incoming_check (druid);
}
@@ -786,6 +792,7 @@ construct (MailConfigDruid *druid)
gtk_window_set_title (GTK_WINDOW (druid), _("Evolution Account Wizard"));
gtk_window_set_policy (GTK_WINDOW (druid), FALSE, TRUE, TRUE);
gtk_window_set_modal (GTK_WINDOW (druid), TRUE);
+ gtk_object_set (GTK_OBJECT (druid), "type", GTK_WINDOW_DIALOG, NULL);
/* attach to druid page signals */
i = 0;