app/widgets/gimpuimanager.c (gimp_ui_manager_entry_load) only be verbose
2004-10-29 Sven Neumann <sven@gimp.org> * app/widgets/gimpuimanager.c (gimp_ui_manager_entry_load) * app/widgets/gimpclipboard.c (gimp_clipboard_init): only be verbose on request. * app/plug-in/plug-in.c (plug_in_close): turned warnings into messages and respect gimp->be_verbose.
This commit is contained in:

committed by
Sven Neumann

parent
4e8a8be40d
commit
a27b0bff1c
@ -1,3 +1,12 @@
|
||||
2004-10-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpuimanager.c (gimp_ui_manager_entry_load)
|
||||
* app/widgets/gimpclipboard.c (gimp_clipboard_init): only be
|
||||
verbose on request.
|
||||
|
||||
* app/plug-in/plug-in.c (plug_in_close): turned warnings into
|
||||
messages and respect gimp->be_verbose.
|
||||
|
||||
2004-10-29 Øyvind Kolås <pippin@gimp.org>
|
||||
|
||||
* app/actions/drawable-commands.[ch]
|
||||
|
@ -539,8 +539,10 @@ plug_in_close (PlugIn *plug_in,
|
||||
#ifndef G_OS_WIN32
|
||||
if (kill_it && plug_in->pid)
|
||||
{
|
||||
g_warning ("Terminating %s ...",
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Terminating plug-in: '%s'\n"),
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
|
||||
status = kill (plug_in->pid, SIGKILL);
|
||||
}
|
||||
|
||||
@ -567,8 +569,10 @@ plug_in_close (PlugIn *plug_in,
|
||||
}
|
||||
if (STILL_ACTIVE == dwExitCode)
|
||||
{
|
||||
g_warning ("Terminating %s ...",
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Terminating plug-in: '%s'\n"),
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
|
||||
TerminateProcess ((HANDLE) plug_in->pid, 0);
|
||||
}
|
||||
}
|
||||
|
@ -539,8 +539,10 @@ plug_in_close (PlugIn *plug_in,
|
||||
#ifndef G_OS_WIN32
|
||||
if (kill_it && plug_in->pid)
|
||||
{
|
||||
g_warning ("Terminating %s ...",
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Terminating plug-in: '%s'\n"),
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
|
||||
status = kill (plug_in->pid, SIGKILL);
|
||||
}
|
||||
|
||||
@ -567,8 +569,10 @@ plug_in_close (PlugIn *plug_in,
|
||||
}
|
||||
if (STILL_ACTIVE == dwExitCode)
|
||||
{
|
||||
g_warning ("Terminating %s ...",
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Terminating plug-in: '%s'\n"),
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
|
||||
TerminateProcess ((HANDLE) plug_in->pid, 0);
|
||||
}
|
||||
}
|
||||
|
@ -143,7 +143,9 @@ gimp_clipboard_init (Gimp *gimp)
|
||||
{
|
||||
gchar *mime_type = *type;
|
||||
|
||||
g_print ("writable pixbuf format: %s\n", mime_type);
|
||||
if (gimp->be_verbose)
|
||||
g_print ("GimpClipboard: writable pixbuf format: %s\n",
|
||||
mime_type);
|
||||
|
||||
gimp_clip->target_entries[i].target = g_strdup (mime_type);
|
||||
gimp_clip->target_entries[i].flags = 0;
|
||||
|
@ -655,7 +655,9 @@ gimp_ui_manager_entry_load (GimpUIManager *manager,
|
||||
filename = g_build_filename (gimp_data_directory (), "menus",
|
||||
entry->basename, NULL);
|
||||
|
||||
g_print ("loading menu: %s for %s\n", filename, entry->ui_path);
|
||||
if (manager->gimp->be_verbose)
|
||||
g_print ("loading menu '%s' for %s\n",
|
||||
gimp_filename_to_utf8 (filename), entry->ui_path);
|
||||
|
||||
entry->merge_id = gtk_ui_manager_add_ui_from_file (GTK_UI_MANAGER (manager),
|
||||
filename, error);
|
||||
|
Reference in New Issue
Block a user