aboutsummaryrefslogtreecommitdiff
path: root/PLUGIN.txt
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-01-20 08:10:35 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-01-20 08:10:35 +0000
commit09cd68cbee77e56de1b7fd1be9367ea6822f0148 (patch)
treea58a7e7a32de3ece5f957129f7548aedcd127f91 /PLUGIN.txt
parentf4b080cdddb753774b0a3b84ffaf5a5c7fd3978f (diff)
added 'textview-menu-popup' signal for plug-ins.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2811 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'PLUGIN.txt')
-rw-r--r--PLUGIN.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/PLUGIN.txt b/PLUGIN.txt
index b4123b42..11fd51ef 100644
--- a/PLUGIN.txt
+++ b/PLUGIN.txt
@@ -169,6 +169,21 @@ void (* compose_destroy) (GObject *obj, gpointer compose);
Emitted just before 'Compose' message composition window is destroyed.
-------------------------------------------------------------------------
+void (* textview_menu_popup) (GObject *obj,
+ GtkMenu *menu,
+ GtkTextView *textview,
+ const gchar *uri,
+ const gchar *selected_text);
+
+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.
+
+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
+-------------------------------------------------------------------------
* libsylph-0
@@ -259,6 +274,7 @@ following process:
- Capture the following events and show messages: application initialization
and exiting, folder view context menu popup, creating and destroying compose
window
+- Capture the text view context menu popup event and add a menu item
Attachment Tool Plug-in
-----------------------