aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-23 05:28:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-23 05:28:24 +0800
commit48d74a5f32050efd7cbd162fbd7076731cf56555 (patch)
treed473cee9ebecbadc7a13b91cd2fadd49bb75c0f6 /mail
parent7abbd4b41b93efb3791f5498a191ff99ae8361e0 (diff)
downloadgsoc2013-evolution-48d74a5f32050efd7cbd162fbd7076731cf56555.tar.gz
gsoc2013-evolution-48d74a5f32050efd7cbd162fbd7076731cf56555.tar.zst
gsoc2013-evolution-48d74a5f32050efd7cbd162fbd7076731cf56555.zip
Oops, danw didn't know 'provider' could be NULL :-)
2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (incoming_type_changed): Oops, danw didn't know 'provider' could be NULL :-) svn path=/trunk/; revision=7721
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config-druid.c4
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