From 94344e1efab2bf7839a2f51c0e63aa690d346535 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 12 Sep 2007 16:10:25 +0000 Subject: ** Fixes bug #476040 2007-09-12 Matthew Barnes ** Fixes bug #476040 * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/dialogs/comp-editor.c: * composer/e-msg-composer.c: * composer/e-msg-composer-attachment-bar.c: * mail/em-folder-browser.c: * mail/message-list.c: * widgets/misc/e-attachment-bar.c: Use "mail-attachment" icon instead of "stock_attach". Use "mail-attachment" icon for unknown attachment types. svn path=/trunk/; revision=34240 --- widgets/misc/e-attachment-bar.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'widgets/misc/e-attachment-bar.c') diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c index 5cb9b7b08b..221558f937 100644 --- a/widgets/misc/e-attachment-bar.c +++ b/widgets/misc/e-attachment-bar.c @@ -281,8 +281,7 @@ update (EAttachmentBar *bar) attachment = priv->attachments->pdata[i]; if (!attachment->is_available_local || !attachment->body) { - /* stock_attach would be better, but its fugly scaled up */ - if ((pixbuf = e_icon_factory_get_icon("stock_unknown", E_ICON_SIZE_DIALOG))) { + if ((pixbuf = e_icon_factory_get_icon("mail-attachment", E_ICON_SIZE_DIALOG))) { attachment->index = gnome_icon_list_append_pixbuf (icon_list, pixbuf, NULL, ""); g_object_unref (pixbuf); } @@ -373,8 +372,7 @@ update (EAttachmentBar *bar) pixbuf = e_icon_for_mime_type (mime_type, 48); 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); + pixbuf = e_icon_factory_get_icon("mail-attachment", E_ICON_SIZE_DIALOG); } g_free (mime_type); } -- cgit v1.2.3