aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-04-15 08:15:46 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-04-15 08:15:46 +0800
commitca691310d85f7a266d070cb004d3534215ac47d0 (patch)
tree6a793011d0e1387928d2392df384dae026ac9b58 /mail
parent582ec45a59973e3beed7370c3476edaeb16c9eac (diff)
downloadgsoc2013-evolution-ca691310d85f7a266d070cb004d3534215ac47d0.tar
gsoc2013-evolution-ca691310d85f7a266d070cb004d3534215ac47d0.tar.gz
gsoc2013-evolution-ca691310d85f7a266d070cb004d3534215ac47d0.tar.bz2
gsoc2013-evolution-ca691310d85f7a266d070cb004d3534215ac47d0.tar.lz
gsoc2013-evolution-ca691310d85f7a266d070cb004d3534215ac47d0.tar.xz
gsoc2013-evolution-ca691310d85f7a266d070cb004d3534215ac47d0.tar.zst
gsoc2013-evolution-ca691310d85f7a266d070cb004d3534215ac47d0.zip
Add "View Inline" / "Hide" menu items to the popup menu.
Add application icons to the "Open With" menu items. svn path=/branches/kill-bonobo/; revision=37524
Diffstat (limited to 'mail')
-rw-r--r--mail/em-format-html-display.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index d413133c3d..6faa6ae803 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -1219,8 +1219,10 @@ efhd_attachment_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje
}
attachment = info->attachment;
+ e_attachment_set_shown (attachment, info->shown);
e_attachment_set_signed (attachment, info->sign);
e_attachment_set_encrypted (attachment, info->encrypt);
+ e_attachment_set_can_show (attachment, info->handle != NULL);
parent = gtk_widget_get_toplevel (GTK_WIDGET (efh->html));
parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
@@ -1238,10 +1240,6 @@ efhd_attachment_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje
widget = e_attachment_button_new (view);
e_attachment_button_set_attachment (
E_ATTACHMENT_BUTTON (widget), attachment);
- e_attachment_button_set_expandable (
- E_ATTACHMENT_BUTTON (widget), (info->handle != NULL));
- e_attachment_button_set_expanded (
- E_ATTACHMENT_BUTTON (widget), info->shown);
gtk_container_add (GTK_CONTAINER (eb), widget);
gtk_widget_show (widget);