aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-27 22:58:59 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-27 22:58:59 +0800
commitc16f96602acf71c4e95ef11a1004ea1fa4ae30fd (patch)
tree480bb0bea3672b0a744d6a8e784d25214106c6f3 /composer
parent82e05d3fb1bc1e715ef17290375419239c88cb31 (diff)
downloadgsoc2013-evolution-c16f96602acf71c4e95ef11a1004ea1fa4ae30fd.tar.gz
gsoc2013-evolution-c16f96602acf71c4e95ef11a1004ea1fa4ae30fd.tar.zst
gsoc2013-evolution-c16f96602acf71c4e95ef11a1004ea1fa4ae30fd.zip
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
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer-attachment-bar.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 1f7021cb90..3cb82e6d39 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -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
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 8cd6e4f6f7..3cd58a9955 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -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);
}