aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-attachment-bar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-04-08 05:40:49 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-04-08 05:40:49 +0800
commita843a2a4d205ef45d8a5670cf0b17c238cee1f37 (patch)
tree9979d5ade1368251151a2007822e47a9eb8cfe19 /mail/e-mail-attachment-bar.c
parenta312ad7cf1c2c34577914a2f0f2a5ca191378103 (diff)
downloadgsoc2013-evolution-a843a2a4d205ef45d8a5670cf0b17c238cee1f37.tar.gz
gsoc2013-evolution-a843a2a4d205ef45d8a5670cf0b17c238cee1f37.tar.zst
gsoc2013-evolution-a843a2a4d205ef45d8a5670cf0b17c238cee1f37.zip
Attachment rewrite pretty much complete. Just testing now.
svn path=/branches/kill-bonobo/; revision=37504
Diffstat (limited to 'mail/e-mail-attachment-bar.c')
-rw-r--r--mail/e-mail-attachment-bar.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/e-mail-attachment-bar.c b/mail/e-mail-attachment-bar.c
index 533623e066..5323a7d359 100644
--- a/mail/e-mail-attachment-bar.c
+++ b/mail/e-mail-attachment-bar.c
@@ -420,6 +420,17 @@ mail_attachment_bar_unselect_all (EAttachmentView *view)
}
static void
+mail_attachment_bar_update_actions (EAttachmentView *view)
+{
+ EMailAttachmentBarPrivate *priv;
+
+ priv = E_MAIL_ATTACHMENT_BAR_GET_PRIVATE (view);
+ view = E_ATTACHMENT_VIEW (priv->icon_view);
+
+ e_attachment_view_update_actions (view);
+}
+
+static void
mail_attachment_bar_class_init (EMailAttachmentBarClass *class)
{
GObjectClass *object_class;
@@ -477,6 +488,7 @@ mail_attachment_bar_iface_init (EAttachmentViewIface *iface)
iface->unselect_path = mail_attachment_bar_unselect_path;
iface->select_all = mail_attachment_bar_select_all;
iface->unselect_all = mail_attachment_bar_unselect_all;
+ iface->update_actions = mail_attachment_bar_update_actions;
}
static void