aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-10 05:44:40 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-10 05:44:40 +0800
commitf39b89c39acf31ea4bdbd0a5bb74f2274434a45b (patch)
tree0234cc1ce72796c1fa568020b1b79605b102442e /mail
parente6e6a76a4ed43e566aae7c5cc1f39e5cbdd61fd5 (diff)
downloadgsoc2013-evolution-f39b89c39acf31ea4bdbd0a5bb74f2274434a45b.tar.gz
gsoc2013-evolution-f39b89c39acf31ea4bdbd0a5bb74f2274434a45b.tar.zst
gsoc2013-evolution-f39b89c39acf31ea4bdbd0a5bb74f2274434a45b.zip
Gray out the appropriate labels too. (auth_type_changed): And here.
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (incoming_type_changed): Gray out the appropriate labels too. (auth_type_changed): And here. (transport_type_changed): Here too... * mail-account-editor.c (source_check): Gray out the appropriate labels too. (transport_type_changed): And here too. svn path=/trunk/; revision=7340
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog11
-rw-r--r--mail/mail-account-editor.c99
-rw-r--r--mail/mail-account-editor.h1
-rw-r--r--mail/mail-config-druid.c53
-rw-r--r--mail/mail-config-druid.glade74
-rw-r--r--mail/mail-config-druid.glade.h1
6 files changed, 200 insertions, 39 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 0953d7649e..2056b295b1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,16 @@
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com>
+ * mail-config-druid.c (incoming_type_changed): Gray out the
+ appropriate labels too.
+ (auth_type_changed): And here.
+ (transport_type_changed): Here too...
+
+ * mail-account-editor.c (source_check): Gray out the appropriate
+ labels too.
+ (transport_type_changed): And here too.
+
+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
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index efc0ad3855..37da05e4dc 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -157,6 +157,9 @@ apply_changes (MailAccountEditor *editor)
url->host = host;
url->port = port;
+ g_free (url->path);
+ url->path = g_strdup (gtk_entry_get_text (editor->source_path));
+
account->source->save_passwd = GTK_TOGGLE_BUTTON (editor->save_passwd)->active;
account->source->keep_on_server = GTK_TOGGLE_BUTTON (editor->keep_on_server)->active;
@@ -286,8 +289,6 @@ source_auth_init (MailAccountEditor *editor, CamelURL *url)
while (l) {
authtype = l->data;
- i++;
-
item = gtk_menu_item_new_with_label (authtype->name);
gtk_object_set_data (GTK_OBJECT (item), "authtype", authtype);
gtk_signal_connect (GTK_OBJECT (item), "activate",
@@ -304,6 +305,7 @@ source_auth_init (MailAccountEditor *editor, CamelURL *url)
}
l = l->next;
+ i++;
}
if (authmech) {
@@ -353,8 +355,6 @@ transport_construct_authmenu (MailAccountEditor *editor, CamelURL *url)
while (l) {
authtype = l->data;
- i++;
-
item = gtk_menu_item_new_with_label (authtype->name);
gtk_object_set_data (GTK_OBJECT (item), "authtype", authtype);
gtk_signal_connect (GTK_OBJECT (item), "activate",
@@ -374,6 +374,9 @@ transport_construct_authmenu (MailAccountEditor *editor, CamelURL *url)
preferred = item;
phist = i;
}
+
+ l = l->next;
+ i++;
}
}
@@ -393,21 +396,28 @@ transport_type_changed (GtkWidget *widget, gpointer user_data)
{
MailAccountEditor *editor = user_data;
CamelProvider *provider;
+ GtkWidget *label;
provider = gtk_object_get_data (GTK_OBJECT (widget), "provider");
editor->transport = provider;
/* hostname */
- if (provider->url_flags & CAMEL_URL_ALLOW_HOST)
+ label = glade_xml_get_widget (editor->gui, "lblTransportHost");
+ if (provider->url_flags & CAMEL_URL_ALLOW_HOST) {
gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_host), TRUE);
- else
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_host), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
/* auth */
+ label = glade_xml_get_widget (editor->gui, "lblTransportAuth");
if (provider->url_flags & CAMEL_URL_ALLOW_AUTH) {
CamelURL *url;
gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_auth), TRUE);
+ gtk_widget_set_sensitive (label, TRUE);
/* regen the auth list */
url = g_new0 (CamelURL, 1);
@@ -417,6 +427,7 @@ transport_type_changed (GtkWidget *widget, gpointer user_data)
camel_url_free (url);
} else {
gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_auth), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
}
}
@@ -443,8 +454,6 @@ transport_type_init (MailAccountEditor *editor, CamelURL *url)
if (provider->object_types[CAMEL_PROVIDER_TRANSPORT]) {
GtkWidget *item;
- i++;
-
item = gtk_menu_item_new_with_label (provider->name);
gtk_object_set_data (GTK_OBJECT (item), "provider", provider);
gtk_signal_connect (GTK_OBJECT (item), "activate",
@@ -459,6 +468,8 @@ transport_type_init (MailAccountEditor *editor, CamelURL *url)
xport = item;
history = i;
}
+
+ i++;
}
l = l->next;
@@ -473,7 +484,7 @@ transport_type_init (MailAccountEditor *editor, CamelURL *url)
}
static void
-keep_mail_check (MailAccountEditor *editor, CamelURL *url)
+source_check (MailAccountEditor *editor, CamelURL *url)
{
GList *providers, *l;
@@ -489,10 +500,66 @@ keep_mail_check (MailAccountEditor *editor, CamelURL *url)
if (provider->object_types[CAMEL_PROVIDER_STORE] && provider->flags & CAMEL_PROVIDER_IS_SOURCE) {
if (!g_strcasecmp (provider->protocol, url->protocol)) {
+ GtkWidget *label;
+
+ /* keep-on-server */
if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
gtk_widget_set_sensitive (GTK_WIDGET (editor->keep_on_server), TRUE);
else
gtk_widget_set_sensitive (GTK_WIDGET (editor->keep_on_server), FALSE);
+
+ /* host */
+ label = glade_xml_get_widget (editor->gui, "lblSourceHost");
+ if (provider->url_flags & CAMEL_URL_ALLOW_HOST) {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_host), TRUE);
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_host), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
+
+ /* user */
+ label = glade_xml_get_widget (editor->gui, "lblSourceUser");
+ if (provider->url_flags & CAMEL_URL_ALLOW_USER) {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_user), TRUE);
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_user), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
+
+ /* path */
+ label = glade_xml_get_widget (editor->gui, "lblSourcePath");
+ if (provider->url_flags & CAMEL_URL_ALLOW_PATH) {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_path), TRUE);
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_path), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
+
+ /* auth */
+ label = glade_xml_get_widget (editor->gui, "lblSourceAuth");
+ if (provider->url_flags & CAMEL_URL_ALLOW_AUTH) {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_auth), TRUE);
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
+ gtk_widget_set_sensitive (GTK_WIDGET (editor->source_auth), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
+
+ /* passwd */
+ label = glade_xml_get_widget (editor->gui, "lblSourcePasswd");
+ if (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 (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 (label, FALSE);
+ }
+
break;
}
}
@@ -548,7 +615,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account)
gtk_entry_set_text (editor->email, 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"));
- gtk_entry_set_text (editor->reply_to, account->id->reply_to);
+ 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"));
gtk_entry_set_text (editor->organization, account->id->organization);
editor->signature = GNOME_FILE_ENTRY (glade_xml_get_widget (gui, "fileSignature"));
@@ -560,7 +627,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account)
editor->source_type = GTK_ENTRY (glade_xml_get_widget (gui, "txtSourceType"));
gtk_entry_set_text (editor->source_type, url->protocol);
editor->source_host = GTK_ENTRY (glade_xml_get_widget (gui, "txtSourceHost"));
- gtk_entry_set_text (editor->source_host, url->host);
+ gtk_entry_set_text (editor->source_host, url->host ? url->host : "");
if (url->port) {
char port[10];
@@ -568,9 +635,11 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account)
gtk_entry_append_text (editor->source_host, port);
}
editor->source_user = GTK_ENTRY (glade_xml_get_widget (gui, "txtSourceUser"));
- gtk_entry_set_text (editor->source_user, url->user);
+ gtk_entry_set_text (editor->source_user, url->user ? url->user : "");
editor->source_passwd = GTK_ENTRY (glade_xml_get_widget (gui, "txtSourcePasswd"));
- gtk_entry_set_text (editor->source_passwd, url->passwd);
+ gtk_entry_set_text (editor->source_passwd, url->passwd ? url->passwd : "");
+ editor->source_path = GTK_ENTRY (glade_xml_get_widget (gui, "txtSourcePath"));
+ gtk_entry_set_text (editor->source_path, url->path);
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_auth = GTK_OPTION_MENU (glade_xml_get_widget (gui, "omenuSourceAuth"));
@@ -578,7 +647,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account)
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);
- keep_mail_check (editor, url);
+ source_check (editor, url);
source_auth_init (editor, url);
camel_url_free (url);
@@ -586,7 +655,7 @@ construct (MailAccountEditor *editor, const MailConfigAccount *account)
url = camel_url_new (account->transport->url, NULL);
editor->transport_type = GTK_OPTION_MENU (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->host);
+ gtk_entry_set_text (editor->transport_host, url->host ? url->host : "");
if (url->port) {
char port[10];
diff --git a/mail/mail-account-editor.h b/mail/mail-account-editor.h
index 5694e5320d..83504e3fbf 100644
--- a/mail/mail-account-editor.h
+++ b/mail/mail-account-editor.h
@@ -57,6 +57,7 @@ struct _MailAccountEditor {
GtkEntry *source_host;
GtkEntry *source_user;
GtkEntry *source_passwd;
+ GtkEntry *source_path;
GtkCheckButton *save_passwd;
GtkOptionMenu *source_auth;
GtkCheckButton *source_ssl;
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 0dc74375d4..f42e770dc1 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -367,40 +367,61 @@ incoming_type_changed (GtkWidget *widget, gpointer user_data)
{
MailConfigDruid *druid = user_data;
CamelProvider *provider;
+ GtkWidget *label;
provider = gtk_object_get_data (GTK_OBJECT (widget), "provider");
druid->source_provider = provider;
/* hostname */
- if (provider->url_flags & CAMEL_URL_ALLOW_HOST)
+ label = glade_xml_get_widget (druid->gui, "lblSourceHost");
+ if (provider->url_flags & CAMEL_URL_ALLOW_HOST) {
gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_hostname), TRUE);
- else
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_hostname), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
/* username */
- if (provider->url_flags & CAMEL_URL_ALLOW_USER)
+ label = glade_xml_get_widget (druid->gui, "lblSourceUser");
+ if (provider->url_flags & CAMEL_URL_ALLOW_USER) {
gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_username), TRUE);
- else
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_username), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
/* password */
- if (provider->url_flags & CAMEL_URL_ALLOW_PASSWORD)
+ label = glade_xml_get_widget (druid->gui, "lblSourcePasswd");
+ if (provider->url_flags & CAMEL_URL_ALLOW_PASSWORD) {
gtk_widget_set_sensitive (GTK_WIDGET (druid->password), TRUE);
- else
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
gtk_widget_set_sensitive (GTK_WIDGET (druid->password), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
/* auth */
- if (provider->url_flags & CAMEL_URL_ALLOW_AUTH)
+ label = glade_xml_get_widget (druid->gui, "lblSourceAuth");
+ if (provider->url_flags & CAMEL_URL_ALLOW_AUTH) {
gtk_widget_set_sensitive (GTK_WIDGET (druid->auth_type), TRUE);
- else
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
gtk_widget_set_sensitive (GTK_WIDGET (druid->auth_type), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
/* path */
- if (provider->url_flags & CAMEL_URL_ALLOW_PATH)
+ label = glade_xml_get_widget (druid->gui, "lblSourcePath");
+ if (provider->url_flags & CAMEL_URL_ALLOW_PATH) {
gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_path), TRUE);
- else
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_path), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
/* keep mail on server */
if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
@@ -455,6 +476,7 @@ auth_type_changed (GtkWidget *widget, gpointer user_data)
{
MailConfigDruid *druid = user_data;
CamelServiceAuthType *authtype;
+ GtkWidget *label;
gboolean sensitive;
authtype = gtk_object_get_data (GTK_OBJECT (widget), "authtype");
@@ -466,8 +488,10 @@ auth_type_changed (GtkWidget *widget, gpointer user_data)
else
sensitive = FALSE;
+ label = glade_xml_get_widget (druid->gui, "lblSourcePasswd");
gtk_widget_set_sensitive (GTK_WIDGET (druid->password), sensitive);
gtk_widget_set_sensitive (GTK_WIDGET (druid->save_password), sensitive);
+ gtk_widget_set_sensitive (label, sensitive);
authentication_check (druid);
}
@@ -565,15 +589,20 @@ transport_type_changed (GtkWidget *widget, gpointer user_data)
{
MailConfigDruid *druid = user_data;
CamelProvider *provider;
+ GtkWidget *label;
provider = gtk_object_get_data (GTK_OBJECT (widget), "provider");
druid->transport_provider = provider;
/* hostname */
- if (provider->url_flags & CAMEL_URL_ALLOW_HOST)
+ label = glade_xml_get_widget (druid->gui, "lblTransportHost");
+ if (provider->url_flags & CAMEL_URL_ALLOW_HOST) {
gtk_widget_set_sensitive (GTK_WIDGET (druid->outgoing_hostname), TRUE);
- else
+ gtk_widget_set_sensitive (label, TRUE);
+ } else {
gtk_widget_set_sensitive (GTK_WIDGET (druid->outgoing_hostname), FALSE);
+ gtk_widget_set_sensitive (label, FALSE);
+ }
/* auth */
if (provider->url_flags & CAMEL_URL_ALLOW_AUTH)
diff --git a/mail/mail-config-druid.glade b/mail/mail-config-druid.glade
index bd0923c246..bb7591fb55 100644
--- a/mail/mail-config-druid.glade
+++ b/mail/mail-config-druid.glade
@@ -597,7 +597,7 @@ Click &quot;Next&quot; to begin. </text>
<widget>
<class>GtkLabel</class>
- <name>source-host-label</name>
+ <name>lblSourceHost</name>
<label>Host:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
@@ -623,7 +623,7 @@ Click &quot;Next&quot; to begin. </text>
<widget>
<class>GtkLabel</class>
- <name>source-username-label</name>
+ <name>lblSourceUser</name>
<label>Username:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
@@ -721,7 +721,7 @@ Click &quot;Next&quot; to begin. </text>
<widget>
<class>GtkLabel</class>
- <name>source-path-label</name>
+ <name>lblSourcePath</name>
<label>Path:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
@@ -954,7 +954,7 @@ Click &quot;Next&quot; to begin. </text>
<widget>
<class>GtkLabel</class>
- <name>authentication-password-label</name>
+ <name>lblSourcePasswd</name>
<label>Password:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
@@ -1166,7 +1166,7 @@ Click &quot;Next&quot; to begin. </text>
<widget>
<class>GtkLabel</class>
- <name>transport-host-label</name>
+ <name>lblTransportHost</name>
<label>Host:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
@@ -2166,7 +2166,7 @@ DIGEST-MD5
<widget>
<class>GtkLabel</class>
- <name>lblIncomingServer</name>
+ <name>lblSourceHost</name>
<label>Hostname:</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
@@ -2192,7 +2192,7 @@ DIGEST-MD5
<widget>
<class>GtkLabel</class>
- <name>lblUsername</name>
+ <name>lblSourceUser</name>
<label>Username:</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
@@ -2218,7 +2218,7 @@ DIGEST-MD5
<widget>
<class>GtkLabel</class>
- <name>lblPassword</name>
+ <name>lblSourcePasswd</name>
<label>Password:</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
@@ -2244,7 +2244,7 @@ DIGEST-MD5
<widget>
<class>GtkLabel</class>
- <name>lblIncomingAuth</name>
+ <name>lblSourceAuth</name>
<label>Authentication:</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
@@ -2455,7 +2455,7 @@ SMTP
<widget>
<class>GtkLabel</class>
- <name>lblOutgoingServer</name>
+ <name>lblTransportHost</name>
<label>Hostname:</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
@@ -2481,7 +2481,7 @@ SMTP
<widget>
<class>GtkLabel</class>
- <name>lblOutgoingAuth</name>
+ <name>lblTransportAuth</name>
<label>Authentication:</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
@@ -2554,7 +2554,7 @@ SMTP
<widget>
<class>GtkTable</class>
<name>tableServerTimeouts</name>
- <rows>2</rows>
+ <rows>3</rows>
<columns>10</columns>
<homogeneous>True</homogeneous>
<row_spacing>0</row_spacing>
@@ -2623,6 +2623,32 @@ SMTP
<child>
<left_attach>1</left_attach>
<right_attach>10</right_attach>
+ <top_attach>2</top_attach>
+ <bottom_attach>3</bottom_attach>
+ <xpad>0</xpad>
+ <ypad>0</ypad>
+ <xexpand>False</xexpand>
+ <yexpand>False</yexpand>
+ <xshrink>False</xshrink>
+ <yshrink>False</yshrink>
+ <xfill>False</xfill>
+ <yfill>False</yfill>
+ </child>
+ </widget>
+
+ <widget>
+ <class>GtkLabel</class>
+ <name>lblSourcePath</name>
+ <label>Path:</label>
+ <justify>GTK_JUSTIFY_LEFT</justify>
+ <wrap>False</wrap>
+ <xalign>7.45058e-09</xalign>
+ <yalign>0.5</yalign>
+ <xpad>0</xpad>
+ <ypad>0</ypad>
+ <child>
+ <left_attach>1</left_attach>
+ <right_attach>3</right_attach>
<top_attach>1</top_attach>
<bottom_attach>2</bottom_attach>
<xpad>0</xpad>
@@ -2635,6 +2661,30 @@ SMTP
<yfill>False</yfill>
</child>
</widget>
+
+ <widget>
+ <class>GtkEntry</class>
+ <name>txtSourcePath</name>
+ <can_focus>True</can_focus>
+ <editable>True</editable>
+ <text_visible>True</text_visible>
+ <text_max_length>0</text_max_length>
+ <text></text>
+ <child>
+ <left_attach>3</left_attach>
+ <right_attach>10</right_attach>
+ <top_attach>1</top_attach>
+ <bottom_attach>2</bottom_attach>
+ <xpad>0</xpad>
+ <ypad>0</ypad>
+ <xexpand>True</xexpand>
+ <yexpand>False</yexpand>
+ <xshrink>False</xshrink>
+ <yshrink>False</yshrink>
+ <xfill>True</xfill>
+ <yfill>False</yfill>
+ </child>
+ </widget>
</widget>
</widget>
diff --git a/mail/mail-config-druid.glade.h b/mail/mail-config-druid.glade.h
index 85c4e5dc84..e5a497a0f0 100644
--- a/mail/mail-config-druid.glade.h
+++ b/mail/mail-config-druid.glade.h
@@ -83,6 +83,7 @@ gchar *s = N_("This server requires a secure connection (SSL)");
gchar *s = N_("Servers");
gchar *s = N_("Miscellaneous");
gchar *s = N_("Keep mail on server");
+gchar *s = N_("Path:");
gchar *s = N_("Advanced");
gchar *s = N_("Evolution Mail Configuration");
gchar *s = N_("Account");