diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-20 08:10:35 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-20 08:10:35 +0000 |
commit | 09cd68cbee77e56de1b7fd1be9367ea6822f0148 (patch) | |
tree | a58a7e7a32de3ece5f957129f7548aedcd127f91 /src/plugin.h | |
parent | f4b080cdddb753774b0a3b84ffaf5a5c7fd3978f (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 'src/plugin.h')
-rw-r--r-- | src/plugin.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 |