gimp_message. libgimp also overrides g_message for all plugins. Converted

* redid the error message handling. g_message now calls message_box or prints
to console depending on whether the no_interface is set or not. gimp-message
is also exported to the PDB as a wrapper to g_message, and libgimp has a new
API: gimp_message. libgimp also overrides g_message for all plugins. Converted
lots of messages in app/* to g_message. Made script-fu a little friendlier.

* updated the regex code from grep 2.2

* said goodbye to the old script-fu logo in script-fu.h

-Yosh
This commit is contained in:
Manish Singh
1998-05-28 09:03:57 +00:00
parent 36e02fc79d
commit 1d95a05af0
143 changed files with 1239 additions and 3039 deletions

View File

@ -223,7 +223,7 @@ script_fu_find_scripts ()
dir = opendir (path);
if (!dir)
g_warning("error reading script directory \"%s\"", path);
g_message ("error reading script directory \"%s\"", path);
else
{
while ((dir_ent = readdir (dir)))
@ -726,7 +726,10 @@ static void
script_fu_disable_cc (gint err_msg)
{
if (err_msg)
g_warning ("%s", siod_err_msg);
g_message ("Script-Fu Error\n%s\n"
"If this happens while running a logo script,\n"
"you might not have the font it wants installed on your system",
siod_err_msg);
current_command_enabled = FALSE;