From 3026d9fc5c8839886649d67bd6313b027a1f08a1 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Mon, 2 Oct 2000 00:42:10 +0000 Subject: If the description of an attachment is a blank string, revert to 2000-10-02 Iain Holmes * e-msg-composer-attachment-bar.c: If the description of an attachment is a blank string, revert to displaying the filename. 2000-10-01 Iain Holmes * e-icon-list.c: If you try to add an icon from a file that doesn't exist put a "Broken icon" image. * bad-icon.xpm: Broken icon image. svn path=/trunk/; revision=5652 --- composer/e-msg-composer-attachment-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'composer/e-msg-composer-attachment-bar.c') diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c index 9dd4cf6a49..3743c310af 100644 --- a/composer/e-msg-composer-attachment-bar.c +++ b/composer/e-msg-composer-attachment-bar.c @@ -290,7 +290,7 @@ update (EMsgComposerAttachmentBar *bar) } desc = camel_mime_part_get_description (attachment->body); - if (!desc) + if (!desc || *desc == '\0') desc = camel_mime_part_get_filename (attachment->body); if (!desc) desc = "attachment"; -- cgit v1.2.3