diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-config-druid.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index b79f192cd0..c8052b75b0 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-01-22 Jeffrey Stedfast <fejj@ximian.com> + + * mail-config-druid.c (incoming_type_changed): Oops, danw didn't + know 'provider' could be NULL :-) + 2001-01-22 Dan Winship <danw@ximian.com> * mail-config-druid.c (incoming_type_changed): Change "Path:" 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 |