From d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc Mon Sep 17 00:00:00 2001 From: Matthew Loper Date: Thu, 29 Jun 2000 15:31:01 +0000 Subject: Fixes brought to us by Purify svn path=/trunk/; revision=3792 --- mail/ChangeLog | 9 +++++++++ mail/mail-config.c | 2 +- mail/message-list.c | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) (limited to 'mail') 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 + + * 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 * 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); -- cgit