[sylpheed:34646] Re: Plugin system

Ricardo Mones mones at debian.org
Mon Jul 11 20:42:12 JST 2011


  Hi,

On Mon, Jul 11, 2011 at 11:12:48AM +0900, Hiroyuki Yamamoto wrote:
> Hello,
> 
> On Sun, 10 Jul 2011 09:45:07 +0200
> Marco Bresciani <m.bresciani at email.it> wrote:
> 
> > Well, promise I'll read the plugin specs, here
> > http://sylpheed.sraoss.jp/wiki/index.php?PluginSpec , could someone help me
> > with this plugin?
> >    Material (a.k.a.: dictionaries) to be added (also used by rikaichan) are
> > the oen made by Jim Breen at Monash University, also used by almost 100% of
> > electronic dictionaries around. :) This is the online page
> > http://www.csse.monash.edu.au/~jwb/cgi-bin/wwwjdic.cgi?1C and there is also
> > the possibility to download and used the files (just like rikaichan does):
> > http://www.csse.monash.edu.au/~jwb/wwwjdicinf.html#dicfil_tag
> 
> It is possible a plug-in to get the contents of selected text by
> "textview_menu_popup" signal. It requires context menu to be opened by
> right button click, though. You will be able to create a context-menu
> based one ('menu -> Translate selected' or something).
> 
> I have created experimental Google search plug-in using this feature
> (not released yet).

  While I understand the usefulness of this for plugins, for the case of the
OP isn't enough to setup an action starting and ending with "|" and the action
script to take care of invoking the translator for the received selection?

  regards, 
-- 
  Ricardo Mones 
  ~
  Quantity derives from measurement, figures from quantities, 
  comparisons from figures, and victories from comparisons. 
                                                              Sun Tzu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://www.sraoss.jp/pipermail/sylpheed/attachments/20110711/a87f56e2/attachment.bin 


More information about the Sylpheed mailing list