diff options
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r-- | mail/mail-config-druid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index 4e6f96b3a3..a7c947a026 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -454,7 +454,7 @@ incoming_type_changed (GtkWidget *widget, gpointer user_data) /* path */ label = glade_xml_get_widget (druid->gui, "lblSourcePath"); /* FIXME */ - if (!strcmp (provider->protocol, "imap")) + if (provider && !strcmp (provider->protocol, "imap")) gtk_label_set_text (GTK_LABEL (label), _("Namespace:")); else gtk_label_set_text (GTK_LABEL (label), _("Path:")); @@ -464,7 +464,7 @@ incoming_type_changed (GtkWidget *widget, gpointer user_data) if (!strcmp (provider->protocol, "mbox")) { char *path; - + if (getenv ("MAIL")) path = g_strdup (getenv ("MAIL")); else |