print the help-id and help-domain to stdout if gimp was started with the

2004-07-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c (gimp_help): print the help-id and
	help-domain to stdout if gimp was started with the --verbose
	command-line option.
This commit is contained in:
Sven Neumann 2004-07-27 11:19:33 +00:00 committed by Sven Neumann
parent a1ac37ed19
commit 228aadc25c
2 changed files with 15 additions and 4 deletions

View File

@ -1,7 +1,13 @@
2004-07-27 Sven Neumann <sven@gimp.org>
* app/widgets/gimphelp.c (gimp_help): print the help-id and
help-domain to stdout if gimp was started with the --verbose
command-line option.
2004-07-27 Sven Neumann <sven@gimp.org>
* app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
show extensions in the filters menu.
show extensions in the filters menu. Is this a good idea at all?
2004-07-27 Sven Neumann <sven@gimp.org>

View File

@ -103,6 +103,11 @@ gimp_help_show (Gimp *gimp,
idle_help->help_id = g_strdup (help_id);
g_idle_add (gimp_idle_help, idle_help);
if (gimp->be_verbose)
g_print ("HELP: request for help-id '%s' from help-domain '%s'\n",
help_id ? help_id : "(null)",
help_domain ? help_domain : "(null)");
}
}
@ -311,9 +316,9 @@ gimp_help_call (Gimp *gimp,
#ifdef GIMP_HELP_DEBUG
g_printerr ("Calling help via %s: %s %s %s\n",
procedure,
help_domain ? help_domain : NULL,
help_locales ? help_locales : NULL,
help_id ? help_id : NULL);
help_domain ? help_domain : "(null)",
help_locales ? help_locales : "(null)",
help_id ? help_id : "(null)");
#endif
return_vals =