diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-attachment-bar.c | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index b8eeae44c8..b38e6a0eb2 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2007-09-12 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #476040 + + * e-attachment-bar.c: + Use "mail-attachment" icon for unknown attachment types. + 2007-08-31 Srinivasa Ragavan <sragavan@novell.com> ** Move away from g_assert to g_return* critical warnings to debug 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); } |