Re: [Gimp-developer] How to get if the buffer is empty or not

2007-01-18 Thread David Gowers
On 1/18/07, Bart [EMAIL PROTECTED] wrote: Hi, i'm developing a script that insert the clipboard as a layer (its based on older existing scripts) and to avoid error messages to the user i'd like to check up wether the clipboard is empty or not. How to do that? Maybe Script-fu has a similar

Re: [Gimp-developer] How to get if the buffer is empty or not

2007-01-18 Thread Sven Neumann
Hi, On Thu, 2007-01-18 at 13:31 +0100, Bart wrote: i'm developing a script that insert the clipboard as a layer Huh? How is that different to what Edit-Paste does? and to avoid error messages to the user i'd like to check up wether the clipboard is empty or not. How to do that? You can't