aboutsummaryrefslogtreecommitdiff
path: root/PLUGIN.txt
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-01-24 07:04:09 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-01-24 07:04:09 +0000
commitc405270db9c1de428a99c5525ab7c3c7f203ea7b (patch)
tree00d9a1a9b399e4aaa1b0a0ac783b9552d463fe0d /PLUGIN.txt
parentb1ce6e7edcbc5d79a4f2c526e4cf05b8230050af (diff)
modified textview-menu-popup plug-in signal.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2821 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'PLUGIN.txt')
-rw-r--r--PLUGIN.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/PLUGIN.txt b/PLUGIN.txt
index 11fd51ef..990e23b8 100644
--- a/PLUGIN.txt
+++ b/PLUGIN.txt
@@ -173,16 +173,19 @@ void (* textview_menu_popup) (GObject *obj,
GtkMenu *menu,
GtkTextView *textview,
const gchar *uri,
- const gchar *selected_text);
+ const gchar *selected_text,
+ MsgInfo *msginfo);
Emitted on popup of the context menu of TextView.
You can add any menu items to the passed GtkMenu.
-The menu object will be destroyed when closed.
+The menu object will be created on open and destroyed on close, so menu items
+must be added each time.
menu: context menu object
textview: GtkTextView object
uri: URI string if the menu popups on an URI
selected_text: string if a string is selected on the text view
+msginfo: the MsgInfo message object displayed in the text view
-------------------------------------------------------------------------
* libsylph-0