aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-06-29 23:31:01 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-06-29 23:31:01 +0800
commitd2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc (patch)
treecb937b1a5f08b251c49cd04554f288c66abdbc04 /mail
parent6896f2152a3c962d5b7cc11f6c2ac2e454b15ca6 (diff)
downloadgsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.gz
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.bz2
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.lz
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.xz
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.zst
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.zip
Fixes brought to us by Purify
svn path=/trunk/; revision=3792
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);