aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-06 08:12:20 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-06 08:12:20 +0000
commit99bac05ea5d0dc7a7aefdfe1e6066c31170824cb (patch)
tree22d16310ef202ade10133651a9bd7753ed055cac /src/summaryview.c
parent3ae0b30d7ebba63f15ef7b9ec0aff2a4c8b19e41 (diff)
added new plug-in APIs for manipulating the summary view popup menu.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2601 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index b7bedbe2..b703b847 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -84,6 +84,7 @@
#include "colorlabel.h"
#include "inc.h"
#include "imap.h"
+#include "plugin.h"
#define STATUSBAR_PUSH(mainwin, str) \
{ \
@@ -5645,6 +5646,8 @@ static gboolean summary_button_pressed(GtkWidget *treeview,
return TRUE;
} else if (event->button == 3) {
/* right clicked */
+ syl_plugin_signal_emit("summaryview-menu-popup",
+ summaryview->popupfactory);
gtk_menu_popup(GTK_MENU(summaryview->popupmenu), NULL, NULL,
NULL, NULL, event->button, event->time);
if (is_selected) {