Plugin updates Properly generated aa Makefile (still not built by default)

Plugin updates
Properly generated aa Makefile (still not built by default)
Sven's no args script patch

-Yosh
This commit is contained in:
Manish Singh
1998-01-25 09:29:29 +00:00
parent c56e1b18e7
commit 4cebd76133
26 changed files with 1577 additions and 922 deletions

View File

@ -508,6 +508,7 @@ script_fu_script_proc (char *name,
GStatusType status = STATUS_SUCCESS;
GRunModeType run_mode;
SFScript *script;
int min_args;
run_mode = params[0].data.d_int32;
@ -530,8 +531,12 @@ script_fu_script_proc (char *name,
script->image_based = FALSE;
/* First acquire information with a dialog */
script_fu_interface (script);
break;
/* Skip this part if the script takes no parameters */
min_args = (script->image_based) ? 2 : 0;
if (script->num_args > min_args) {
script_fu_interface (script);
break;
}
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */