app/core/gimp-modules.c more output on --verbose

2005-11-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-modules.c
	* app/menus/menus.c: more output on --verbose
This commit is contained in:
Michael Natterer 2005-11-07 09:39:06 +00:00 committed by Michael Natterer
parent 5982aac7e5
commit 5f90c4cddb
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-11-07 Michael Natterer <mitch@gimp.org>
* app/core/gimp-modules.c
* app/menus/menus.c: more output on --verbose
2005-11-06 Michael Natterer <mitch@gimp.org>
* app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_picked):

View File

@ -75,6 +75,10 @@ gimp_modules_load (Gimp *gimp)
return;
filename = gimp_personal_rc_file ("modulerc");
if (gimp->be_verbose)
g_print ("Parsing '%s'\n", gimp_filename_to_utf8 (filename));
scanner = gimp_scanner_new_file (filename, NULL);
g_free (filename);
@ -187,6 +191,10 @@ gimp_modules_unload (Gimp *gimp)
p = "";
filename = gimp_personal_rc_file ("modulerc");
if (gimp->be_verbose)
g_print ("Writing '%s'\n", gimp_filename_to_utf8 (filename));
writer = gimp_config_writer_new_file (filename, TRUE,
"GIMP modulerc", &error);
g_free (filename);

View File

@ -366,6 +366,10 @@ menus_restore (Gimp *gimp)
g_return_if_fail (GIMP_IS_GIMP (gimp));
filename = gimp_personal_rc_file ("menurc");
if (gimp->be_verbose)
g_print ("Parsing '%s'\n", gimp_filename_to_utf8 (filename));
gtk_accel_map_load (filename);
g_free (filename);
}
@ -382,6 +386,10 @@ menus_save (Gimp *gimp,
return;
filename = gimp_personal_rc_file ("menurc");
if (gimp->be_verbose)
g_print ("Writing '%s'\n", gimp_filename_to_utf8 (filename));
gtk_accel_map_save (filename);
g_free (filename);