On Thursday 06 October 2005 13:02, Kevin Cozens wrote: > lasm.rm wrote: > > I am on 2.2 "stable" and found some changes in the PDB, > > one of the bugs really got on my nerves... Turn out that > > the PDB browser says gimp_display_new but it won't work, > > the one which works is gimp-display-new .. Ugh... stuff like > > that ! > > The PDB browser in the current CVS copy of GIMP now uses - instead > of _ in procedure names. That is a step in the right direction, > IMHO. It still shows the wrong form of named constants as far as > Script-Fu writers are concerned. > > To use named constants shown in the PDB browser output you need to > drop the leading GIMP_ and change any remaining _ to -. For > example, the named constant GIMP_MAKE_PALETTE as shown in the PDB > browser should be MAKE-PALETTE in script files. > > I discussed this with the GIMP developers some time back suggesting > that PDB brower show things from the point of view of Script-Fu. > They didn't want to change it. As a result, it continues to show > its C oriented plug-in roots and confuses some users who want to > try their hand at writing or modifying their first Script-Fu > script. Hi Kevin, I was thinking - "-" instead of "_" is not good for people who use Pythonaand perl scritps either - so what if the PDB browser in the GIMP would have a drop down list, for one to pick the up the languyage taht suits oneself best, and then display it as apropriate ("-" for script-fu /tiny-fu developers, "_"for python, no "GIMP_" prefix for either) ? Joao ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/e4wwlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/script-fu/ <*> To unsubscribe from this group, send an email to: script-fu-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/