From 09cd68cbee77e56de1b7fd1be9367ea6822f0148 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 20 Jan 2011 08:10:35 +0000 Subject: added 'textview-menu-popup' signal for plug-ins. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2811 ee746299-78ed-0310-b773-934348b2243d --- src/plugin.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/plugin.h') diff --git a/src/plugin.h b/src/plugin.h index ba30f226..f21026fe 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2011 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -45,7 +45,7 @@ typedef void (*SylPluginLoadFunc) (void); typedef void (*SylPluginUnloadFunc) (void); typedef void (*SylPluginCallbackFunc) (void); -#define SYL_PLUGIN_INTERFACE_VERSION 0x0106 +#define SYL_PLUGIN_INTERFACE_VERSION 0x0107 struct _SylPlugin { @@ -64,6 +64,12 @@ struct _SylPluginClass void (* compose_created) (GObject *obj, gpointer compose); void (* compose_destroy) (GObject *obj, gpointer compose); + + void (* textview_menu_popup) (GObject *obj, + GtkMenu *menu, + GtkTextView *textview, + const gchar *uri, + const gchar *selected_text); }; struct _SylPluginInfo -- cgit v1.2.3