duh, pass the string not the content type to the warning message. And

2004-04-27  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment-bar.c (update): duh, pass the string
        not the content type to the warning message.  And derrr, print it
        for the actual error case, not the ok case.  Fixes #57680.

svn path=/trunk/; revision=25633
This commit is contained in:
Not Zed
2004-04-27 14:58:59 +00:00
committed by Michael Zucci
parent 82e05d3fb1
commit c16f96602a
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-04-27 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (update): duh, pass the string
not the content type to the warning message. And derrr, print it
for the actual error case, not the ok case. Fixes #57680.
2004-04-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_load_draft): Only unlink the original

View File

@ -313,11 +313,11 @@ update (EMsgComposerAttachmentBar *bar)
mime_type = camel_content_type_simple (content_type);
pixbuf = e_icon_for_mime_type (mime_type, 48);
if (pixbuf == NULL)
if (pixbuf == NULL) {
g_warning("cannot find icon for mime type %s (installation problem?)", mime_type);
/* stock_attach would be better, but its fugly scaled up */
pixbuf = e_icon_factory_get_icon("stock_unknown", E_ICON_SIZE_DIALOG);
else
g_warning("cannot find icon for mime type %s (installation problem?)", content_type);
}
g_free (mime_type);
}