diff options
author | Miguel de Icaza <miguel@ximian.com> | 2001-01-12 11:34:44 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2001-01-12 11:34:44 +0800 |
commit | c9246a157e1dae8c34a6559f75fa47883debe40f (patch) | |
tree | 3721d81c7e985df804e4ec38fa311965d24b095b | |
parent | fcab7b57790451d252db55a39a2c8d520689a376 (diff) | |
download | gsoc2013-evolution-c9246a157e1dae8c34a6559f75fa47883debe40f.tar.gz gsoc2013-evolution-c9246a157e1dae8c34a6559f75fa47883debe40f.tar.zst gsoc2013-evolution-c9246a157e1dae8c34a6559f75fa47883debe40f.zip |
Only set the popdown strings if we have anything to popdown.
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.
svn path=/trunk/; revision=7425
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 5 |
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) { |