Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-04 Thread saulgoode
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org: Always got the Woodrat folder under File | Create menu, no shortcut key indicated. On 3 Oct 2010 at 11:17:05, Sven Neumann wrote: I am pretty sure that it theoretically should work this way. After all the Script-Fu extension

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-04 Thread Alan Campbell
On 4 Oct 2010 at 10:21:16 PDT saulgoode at flashingtwelve.brickfilms.com wrote: It is not a problem with the branch register command not being processed, but that branch registration seems to require that plug-in be associated with it (see 'plugin_menu_branch_register_invoker()' in

[Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Alan Campbell
One of uses of an underscore is to pick out the shortcut character in a menu item: (script-fu-register wrdhb_create_half_blind_dovetail _Half blind dovetail... ;menu label Create Template for Half blind Dovetail ) There also appears to be (script-fu-register

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Sven Neumann
On Sun, 2010-10-03 at 12:59 +, Alan Campbell wrote: One of uses of an underscore is to pick out the shortcut character in a menu item: (script-fu-register wrdhb_create_half_blind_dovetail _Half blind dovetail... ;menu label Create Template for Half blind Dovetail )

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Alan Campbell
Hi Sven, On 3 Oct 2010 at 14:19, Sven Neumann wrote: On Sun, 2010-10-03 at 12:59 +, Alan Campbell wrote: One of uses of an underscore is to pick out the shortcut character in a menu item: (script-fu-register wrdhb_create_half_blind_dovetail _Half blind dovetail... ;menu

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Sven Neumann
On Sun, 2010-10-03 at 13:42 +, Alan Campbell wrote: You need to explicitly create the submenu using gimp-plugin-menu-branch-register. This procedure should accept mnemonics marked with an underscore. Tried (gimp-plugin-menu-branch-register Image/File/Create W_oodrat)

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Alan Campbell
Always got the Woodrat folder under File | Create menu, no shortcut key indicated. On 3 Oct 2010 at 11:17:05, Sven Neumann wrote: I am pretty sure that it theoretically should work this way. After all the Script-Fu extension itself creates sub-menus this way and those sub-menus do have