Commit 99e8d420 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

don't warn about a non-existant "Script-Fu" menu. (the user should have

2000-12-17  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: don't warn about a non-existant "Script-Fu" menu.
	(the user should have the choice of just removing the script-fu
	plug-in without any side-effects).
parent 323216b7
2000-12-17 Michael Natterer <mitch@gimp.org>
* app/menus.c: don't warn about a non-existant "Script-Fu" menu.
(the user should have the choice of just removing the script-fu
plug-in without any side-effects).
2000-12-17 Asbjorn Pettersen <asbjornP@dualog.no>
* plug-ins/common/gz.c (save_image): Use GIMP_PDB_EXECUTION_ERROR.
......
......@@ -1211,7 +1211,7 @@ menus_set_sensitive (gchar *path,
gtk_widget_set_sensitive (widget, sensitive);
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set sensitivity for menu which doesn't exist:\n%s",
path);
}
......@@ -1238,7 +1238,7 @@ menus_set_state (gchar *path,
widget = NULL;
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set state for menu which doesn't exist:\n%s\n",
path);
}
......
......@@ -1211,7 +1211,7 @@ menus_set_sensitive (gchar *path,
gtk_widget_set_sensitive (widget, sensitive);
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set sensitivity for menu which doesn't exist:\n%s",
path);
}
......@@ -1238,7 +1238,7 @@ menus_set_state (gchar *path,
widget = NULL;
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set state for menu which doesn't exist:\n%s\n",
path);
}
......
......@@ -1211,7 +1211,7 @@ menus_set_sensitive (gchar *path,
gtk_widget_set_sensitive (widget, sensitive);
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set sensitivity for menu which doesn't exist:\n%s",
path);
}
......@@ -1238,7 +1238,7 @@ menus_set_state (gchar *path,
widget = NULL;
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set state for menu which doesn't exist:\n%s\n",
path);
}
......
......@@ -1211,7 +1211,7 @@ menus_set_sensitive (gchar *path,
gtk_widget_set_sensitive (widget, sensitive);
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set sensitivity for menu which doesn't exist:\n%s",
path);
}
......@@ -1238,7 +1238,7 @@ menus_set_state (gchar *path,
widget = NULL;
}
if (!ifactory || !widget)
if ((!ifactory || !widget) && ! strstr (path, "Script-Fu"))
g_warning ("Unable to set state for menu which doesn't exist:\n%s\n",
path);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment