aboutsummaryrefslogtreecommitdiff
path: root/src/plugin.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-11-06 04:59:31 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-11-06 04:59:31 +0000
commit9aa60b8ee830c9ecce85ba76bbd57085ef8bddb5 (patch)
tree4da74e9d3b12af411a6c05f8149121b1ac72cc17 /src/plugin.c
parentee3bcbc5320363b0d2582f6ca00c888a88d9539c (diff)
added <IMAPFolder> and <NewsFolder> to parent factory.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2336 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 087b56d8..1078f78f 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -378,6 +378,10 @@ static GtkItemFactory *get_item_factory(const gchar *path)
ifactory = syl_plugin_lookup_symbol("main_window_menu_factory");
else if (strncmp(path, "<MailFolder>", 12) == 0)
ifactory = syl_plugin_lookup_symbol("folderview_mail_popup_factory");
+ else if (strncmp(path, "<IMAPFolder>", 12) == 0)
+ ifactory = syl_plugin_lookup_symbol("folderview_imap_popup_factory");
+ else if (strncmp(path, "<NewsFolder>", 12) == 0)
+ ifactory = syl_plugin_lookup_symbol("folderview_news_popup_factory");
else
ifactory = syl_plugin_lookup_symbol("main_window_menu_factory");