diff options
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 |