aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer-hdrs.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 10edf9858f..3b67096ed5 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-11 Miguel de Icaza <miguel@ximian.com>
+
+ * e-msg-composer-hdrs.c (create_dropdown_entry): Only set the
+ popdown strings if we have anything to popdown.
+
2001-01-10 Miguel de Icaza <miguel@helixcode.com>
* evolution-composer.c (evolution_composer_construct): Add an
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 35727e7da3..1e144e3cbc 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -158,8 +158,9 @@ create_dropdown_entry (EMsgComposerHdrs *hdrs,
values = g_list_append (values, addr_local);
stmp = stmp->next;
}
-
- gtk_combo_set_popdown_strings (GTK_COMBO (combo), values);
+
+ if (values)
+ gtk_combo_set_popdown_strings (GTK_COMBO (combo), values);
tmp = values;
while (tmp) {