aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-09-13 00:10:25 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-09-13 00:10:25 +0800
commit94344e1efab2bf7839a2f51c0e63aa690d346535 (patch)
tree7d8b20ae92c619ed1773837bdfa39988571a0fb7 /widgets
parentec548e468663fddc72e361029846162699c766f1 (diff)
downloadgsoc2013-evolution-94344e1efab2bf7839a2f51c0e63aa690d346535.tar.gz
gsoc2013-evolution-94344e1efab2bf7839a2f51c0e63aa690d346535.tar.zst
gsoc2013-evolution-94344e1efab2bf7839a2f51c0e63aa690d346535.zip
** Fixes bug #476040
2007-09-12 Matthew Barnes <mbarnes@redhat.com> ** 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
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-attachment-bar.c6
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);
}