diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-24 07:04:09 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-24 07:04:09 +0000 |
commit | c405270db9c1de428a99c5525ab7c3c7f203ea7b (patch) | |
tree | 00d9a1a9b399e4aaa1b0a0ac783b9552d463fe0d /PLUGIN.ja.txt | |
parent | b1ce6e7edcbc5d79a4f2c526e4cf05b8230050af (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.ja.txt')
-rw-r--r-- | PLUGIN.ja.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/PLUGIN.ja.txt b/PLUGIN.ja.txt index 341c1fc5..5090b8cf 100644 --- a/PLUGIN.ja.txt +++ b/PLUGIN.ja.txt @@ -175,17 +175,20 @@ void (* textview_menu_popup) (GObject *obj, GtkMenu *menu, GtkTextView *textview, const gchar *uri, - const gchar *selected_text); + const gchar *selected_text, + MsgInfo *msginfo); TextView でコンテキストメニューをポップアップするときに発行される シグナルです。ここで渡された GtkMenu に対して任意のメニュー項目を 追加することができます。 -メニューオブジェクトは閉じられると自動的に破棄されます。 +メニューオブジェクトはメニューを開くたびに作成され、閉じられると自動的に +破棄されるため、毎回メニュー項目を追加する必要があります。 menu: コンテキストメニューオブジェクト textview: GtkTextView オブジェクト uri: URI の上でメニューを表示した場合その URI 文字列 selected_text: テキストビューでテキストが選択されている場合、その文字列 +msginfo: テキストビューで表示されているメッセージの MsgInfo オブジェクト ------------------------------------------------------------------------- * libsylph-0 |