aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/mail-config.c2
-rw-r--r--mail/message-list.c3
3 files changed, 13 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 021d80affd..045e1c5873 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2000-06-29 Peter Williams <peterw@helixcode.com>
+
+ * message-list.c (message_list_init): Set the dnd_code of the
+ ETableHeader to something so that Solaris sprintf doesn't die
+ on a NULL string.
+
+ * mail-config.c (providers_config_new): Check for a null "transport"
+ string (not all OS' handle NULL strings well *cough* Solaris)
+
2000-06-28 Dan Winship <danw@helixcode.com>
* mail-format.c (mail_generate_forward): add default subjects
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 8b1f89bf5f..4adec9a78b 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -1998,7 +1998,7 @@ providers_config_new (void)
/* Set the data in the transports page */
interior_notebook = gtk_object_get_data (GTK_OBJECT (transport_page_vbox), "notebook");
page = gtk_notebook_get_current_page (GTK_NOTEBOOK (interior_notebook));
- if (!strncasecmp(transport, "Sendmail", 8))
+ if (transport != NULL && !strncasecmp(transport, "Sendmail", 8))
page = 1;
else
page = 0;
diff --git a/mail/message-list.c b/mail/message-list.c
index f429583312..9a3eba31e6 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -754,6 +754,9 @@ message_list_init (GtkObject *object)
"drawfocus", FALSE,
"drawgrid", FALSE,
NULL);
+ gtk_object_set(GTK_OBJECT(E_TABLE(message_list->etable)->header_item),
+ "dnd_code", "(unset)",
+ NULL);
gtk_signal_connect (GTK_OBJECT (message_list->etable), "realize",
GTK_SIGNAL_FUNC (select_row), message_list);