Hi, On Wed, 2008-04-02 at 21:36 +1030, David Gowers wrote:
> register( > "batch_unsharp_mask", "", "", "", "", "", > "<Toolbox>/Xtns/Languages/Python-Fu/Test/_Batch Unsharp Mask", "", > [ > (PF_STRING, "file_pattern", "file_pattern", "*.png"), > (PF_FLOAT, "radius", "Radius", 5.0 ), > (PF_FLOAT, "amount", "Amount", 0.5 ), > (PF_INT32, "threshold", "Threshold", 0 ) > ], > [], > batch_unsharp_mask > ) It would be so much nicer if example scripts like this one would use the new register API instead of the deprecated one that is being used here. Please use this instead: register( "batch-unsharp-mask", "", "", "", "", "", "_Batch Unsharp Mask", "", [ (PF_STRING, "file-pattern", "File Pattern", "*.png"), (PF_FLOAT, "radius", "Radius", 5.0 ), (PF_FLOAT, "amount", "Amount", 0.5 ), (PF_INT32, "threshold", "Threshold", 0 ) ], [], batch_unsharp_mask, menu="<Toolbox>/Xtns/Languages/Python-Fu/Test" ) Sven _______________________________________________ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user