From 99bac05ea5d0dc7a7aefdfe1e6066c31170824cb Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 6 Jul 2010 08:12:20 +0000 Subject: 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 --- src/summaryview.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/summaryview.c') 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) { -- cgit v1.2.3