Comment 2 for bug 1016291

Revision history for this message
Andras Muranyi (muranyia) wrote :

Thank you for the reply, Thomas.
I'm attaching two test scripts. (None of them is perfect as I am not very good at Gimp scripts.)
I made the tests with Gimp 2.8.

First one (message-TEST-registered.scm) registers the script with script-fu so that it can be run from the Filters menu as "Message Test". I recommend you run it with the following command:
gimp -b '(script-fu-message-test)'
The result is a popup titled "Gimp Message", which is quite good, the icon however is a "sad face".
Alternatively, you can just start Gimp and run the script from the Filters menu:
The result is an exclamation mark in the status bar, plus the message "Hello World".
The above results don't have the word "Warning" any more, but still have the icons that refer to a warning (sad face or exclamation mark).

The second script (message-test-TEST-raw.scm) contains only a gimp-message command and will run immediately when Gimp is started. I recommend that you start Gimp from the command line with "gimp".
The result is a message on the console: "script-fu-Warning: Hello World".

My point is that any reference to a problem situation (sad face, exclamation mark, or the text"Warning) is unnecessary and shall be replaced (maybe with an "i" for info icon, and respecively with the text "script-fu-Message") as a gimp-message command does not necessarily indicate a warning.

Thanks for taking a look!