now prints messages when starting up --no-splash

Wed Mar 25 16:22:00 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/app_procs.c: now prints messages when starting up --no-splash

	* app/gimprc.c: now prints messages when starting up --no-splash

	* app/plug-in.c: does not print messages when starting up with
	splash screen
This commit is contained in:
EST 1998 Matthew Wilson 1998-03-25 21:36:59 +00:00 committed by Matt Wilson
parent 011f2c333a
commit 64d26eddbe
23 changed files with 212 additions and 123 deletions

View File

@ -1,3 +1,12 @@
Wed Mar 25 16:22:00 EST 1998 Matthew Wilson <msw@gimp.org>
* app/app_procs.c: now prints messages when starting up --no-splash
* app/gimprc.c: now prints messages when starting up --no-splash
* app/plug-in.c: does not print messages when starting up with
splash screen
Tue Mar 24 20:32:53 PST 1998 Manish Singh <yosh@gimp.org> Tue Mar 24 20:32:53 PST 1998 Manish Singh <yosh@gimp.org>
* app/fileops.c: refresh the open/save as dialogs upon open * app/fileops.c: refresh the open/save as dialogs upon open

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -440,8 +440,8 @@ app_init ()
{ {
sprintf (filename, "%s/gtkrc", gimp_dir); sprintf (filename, "%s/gtkrc", gimp_dir);
if (be_verbose == TRUE) if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("parsing \"%s\"\n", filename); g_print ("parsing \"%s\"\n", filename);
app_init_update_status("Resource configuration", filename, -1); app_init_update_status("Resource configuration", filename, -1);
gtk_rc_parse (filename); gtk_rc_parse (filename);

View File

@ -323,7 +323,7 @@ parse_gimprc_file (char *filename)
if (!parse_info.fp) if (!parse_info.fp)
return; return;
if (be_verbose == TRUE) if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("parsing \"%s\"\n", filename); g_print ("parsing \"%s\"\n", filename);
cur_token = -1; cur_token = -1;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;

View File

@ -253,7 +253,8 @@ plug_in_init ()
if (plug_in_def->query) if (plug_in_def->query)
{ {
write_pluginrc = TRUE; write_pluginrc = TRUE;
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("query plug-in: \"%s\"\n", plug_in_def->prog);
plug_in_query (plug_in_def->prog, plug_in_def); plug_in_query (plug_in_def->prog, plug_in_def);
} }
app_init_update_status(NULL, plug_in_def->prog, nth/nplugins); app_init_update_status(NULL, plug_in_def->prog, nth/nplugins);
@ -289,7 +290,8 @@ plug_in_init ()
/* write the pluginrc file if necessary */ /* write the pluginrc file if necessary */
if (write_pluginrc) if (write_pluginrc)
{ {
g_print ("writing \"%s\"\n", filename); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("writing \"%s\"\n", filename);
plug_in_write_rc (filename); plug_in_write_rc (filename);
} }
@ -301,7 +303,8 @@ plug_in_init ()
/* run the available extensions */ /* run the available extensions */
tmp = proc_defs; tmp = proc_defs;
g_print ("Starting extensions: "); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("Starting extensions: ");
app_init_update_status("Extensions", "", 0); app_init_update_status("Extensions", "", 0);
nplugins = g_slist_length(tmp); nth = 0; nplugins = g_slist_length(tmp); nth = 0;
@ -314,15 +317,16 @@ plug_in_init ()
(proc_def->db_info.num_args == 0) && (proc_def->db_info.num_args == 0) &&
(proc_def->db_info.proc_type == PDB_EXTENSION)) (proc_def->db_info.proc_type == PDB_EXTENSION))
{ {
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("%s ", proc_def->db_info.name); g_print ("%s ", proc_def->db_info.name);
app_init_update_status(NULL, proc_def->db_info.name, app_init_update_status(NULL, proc_def->db_info.name,
nth/nplugins); nth/nplugins);
plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE); plug_in_run (&proc_def->db_info, NULL, FALSE, TRUE);
} }
} }
g_print ("\n"); if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("\n");
/* free up stuff */ /* free up stuff */
tmp = plug_in_defs; tmp = plug_in_defs;