aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-popup.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-04-10 19:05:55 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-04-10 19:05:55 +0800
commit1509a85170184895f6c91f9c57167a74af5cd2db (patch)
tree77e1afcbbe5b42b425619092f1609cbe529b1d0e /mail/em-popup.c
parentc2282f18c4592e4c911d893290e14a5fcd4fb3b3 (diff)
downloadgsoc2013-evolution-1509a85170184895f6c91f9c57167a74af5cd2db.tar.gz
gsoc2013-evolution-1509a85170184895f6c91f9c57167a74af5cd2db.tar.zst
gsoc2013-evolution-1509a85170184895f6c91f9c57167a74af5cd2db.zip
Convert "import-ics-attachments" plugin to an EAttachmentHandler subclass.
svn path=/branches/kill-bonobo/; revision=37510
Diffstat (limited to 'mail/em-popup.c')
-rw-r--r--mail/em-popup.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/mail/em-popup.c b/mail/em-popup.c
index e57b1de7f8..914b9840b5 100644
--- a/mail/em-popup.c
+++ b/mail/em-popup.c
@@ -98,12 +98,6 @@ emp_target_free(EPopup *ep, EPopupTarget *t)
g_free(s->uri);
break; }
- case EM_POPUP_TARGET_ATTACHMENTS: {
- EMPopupTargetAttachments *s = (EMPopupTargetAttachments *)t;
-
- g_slist_foreach(s->attachments, (GFunc)g_object_unref, NULL);
- g_slist_free(s->attachments);
- break; }
}
((EPopupClass *)emp_parent)->target_free(ep, t);
@@ -434,21 +428,11 @@ static const EPopupHookTargetMask emph_folder_masks[] = {
{ NULL }
};
-static const EPopupHookTargetMask emph_attachments_masks[] = {
- { "one", EM_POPUP_ATTACHMENTS_ONE },
- { "many", EM_POPUP_ATTACHMENTS_MANY },
- { "multiple", EM_POPUP_ATTACHMENTS_MULTIPLE },
- { "image", EM_POPUP_ATTACHMENTS_IMAGE },
- { "message", EM_POPUP_ATTACHMENTS_MESSAGE },
- { NULL }
-};
-
static const EPopupHookTargetMap emph_targets[] = {
{ "select", EM_POPUP_TARGET_SELECT, emph_select_masks },
{ "uri", EM_POPUP_TARGET_URI, emph_uri_masks },
{ "part", EM_POPUP_TARGET_PART, emph_part_masks },
{ "folder", EM_POPUP_TARGET_FOLDER, emph_folder_masks },
- { "attachments", EM_POPUP_TARGET_ATTACHMENTS, emph_attachments_masks },
{ NULL }
};