[Remove a bunch of debugging messages, as per #7741.]

* evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
Removed debugging messages.

* e-storage-set.c (storage_removed_folder_cb): Removed debugging
message.

* e-storage-set-view.c (tree_drag_begin): Removed debugging
message.
(tree_drag_data_received): Removed debugging messages.

* e-shortcuts.c (idle_cb): Removed debugging message.

* e-shortcuts-view-model.c (get_icon_for_item): Removed debugging
message.

* e-shell.c (setup_components): Removed debugging message.

* e-shell-startup-wizard.c (druid_event_notify_cb): Removed
debugging message.
(e_shell_startup_wizard_create): Removed debugging message.

* e-shell-offline-handler.c (finalize_offline_hash_foreach):
Removed debugging message.

* e-shell-importer.c (start_import): Removed debugging message.
(item_selected): Same here.

* e-local-storage.c (async_xfer_folder_step): Removed debugging
message.

* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Changed the error from a g_print() into a g_warning().  Removed
debugging message.

* e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
Removed debugging message.
(impl_StorageRegistry_removeStorageByName): Likewise.

* e-component-registry.c (component_free): Removed debugging
message.
(register_component): Don't printf() about the registered folder
type.
(register_component): Don't printf() about the registered schema
type.

svn path=/trunk/; revision=12811
This commit is contained in:
Ettore Perazzoli
2001-09-13 21:26:42 +00:00
parent c788ba0faf
commit 81b29a04e5
15 changed files with 50 additions and 37 deletions

View File

@ -1,3 +1,52 @@
2001-09-13 Ettore Perazzoli <ettore@ximian.com>
[Remove a bunch of debugging messages, as per #7741.]
* evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
Removed debugging messages.
* e-storage-set.c (storage_removed_folder_cb): Removed debugging
message.
* e-storage-set-view.c (tree_drag_begin): Removed debugging
message.
(tree_drag_data_received): Removed debugging messages.
* e-shortcuts.c (idle_cb): Removed debugging message.
* e-shortcuts-view-model.c (get_icon_for_item): Removed debugging
message.
* e-shell.c (setup_components): Removed debugging message.
* e-shell-startup-wizard.c (druid_event_notify_cb): Removed
debugging message.
(e_shell_startup_wizard_create): Removed debugging message.
* e-shell-offline-handler.c (finalize_offline_hash_foreach):
Removed debugging message.
* e-shell-importer.c (start_import): Removed debugging message.
(item_selected): Same here.
* e-local-storage.c (async_xfer_folder_step): Removed debugging
message.
* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Changed the error from a g_print() into a g_warning(). Removed
debugging message.
* e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
Removed debugging message.
(impl_StorageRegistry_removeStorageByName): Likewise.
* e-component-registry.c (component_free): Removed debugging
message.
(register_component): Don't printf() about the registered folder
type.
(register_component): Don't printf() about the registered schema
type.
2001-09-13 Ettore Perazzoli <ettore@ximian.com> 2001-09-13 Ettore Perazzoli <ettore@ximian.com>
* e-shell-view.c (pop_up_folder_bar): Disable DnD on the * e-shell-view.c (pop_up_folder_bar): Disable DnD on the

View File

@ -88,8 +88,6 @@ component_free (Component *component)
GNOME_Evolution_ShellComponent_unsetOwner (corba_shell_component, &ev); GNOME_Evolution_ShellComponent_unsetOwner (corba_shell_component, &ev);
if (ev._major != CORBA_NO_EXCEPTION) if (ev._major != CORBA_NO_EXCEPTION)
g_warning ("Cannot unregister component -- %s", component->id); g_warning ("Cannot unregister component -- %s", component->id);
else
g_print ("Component unregistered successfully -- %s\n", component->id);
CORBA_exception_free (&ev); CORBA_exception_free (&ev);
g_free (component->id); g_free (component->id);
@ -203,9 +201,6 @@ register_component (EComponentRegistry *component_registry,
component)) { component)) {
g_warning ("Cannot register type `%s' for component %s", g_warning ("Cannot register type `%s' for component %s",
type->name, component->id); type->name, component->id);
} else {
g_print ("Registered type for component -- (%s) %s\n",
type->name, component->id);
} }
} }
@ -225,8 +220,6 @@ register_component (EComponentRegistry *component_registry,
schema = supported_schemas->_buffer[i]; schema = supported_schemas->_buffer[i];
if (! e_uri_schema_registry_set_handler_for_schema (uri_schema_registry, schema, component->client)) if (! e_uri_schema_registry_set_handler_for_schema (uri_schema_registry, schema, component->client))
g_warning ("Cannot register schema `%s' for component %s", schema, component->id); g_warning ("Cannot register schema `%s' for component %s", schema, component->id);
else
g_print ("Registered handler for schema `%s' -- %s\n", schema, component->id);
} }
CORBA_free (supported_schemas); CORBA_free (supported_schemas);

View File

@ -81,8 +81,6 @@ impl_StorageRegistry_addStorage (PortableServer_Servant servant,
EStorage *storage; EStorage *storage;
GNOME_Evolution_StorageListener listener_interface; GNOME_Evolution_StorageListener listener_interface;
g_print ("Shell: Registering storage -- %s\n", name);
bonobo_object = bonobo_object_from_servant (servant); bonobo_object = bonobo_object_from_servant (servant);
storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object); storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object);
priv = storage_registry->priv; priv = storage_registry->priv;
@ -123,8 +121,6 @@ impl_StorageRegistry_removeStorageByName (PortableServer_Servant servant,
ECorbaStorageRegistryPrivate *priv; ECorbaStorageRegistryPrivate *priv;
EStorage *storage; EStorage *storage;
g_print ("Shell: Removing storage -- %s\n", name);
bonobo_object = bonobo_object_from_servant (servant); bonobo_object = bonobo_object_from_servant (servant);
storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object); storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object);
priv = storage_registry->priv; priv = storage_registry->priv;

View File

@ -113,7 +113,7 @@ impl_StorageListener_notifyFolderCreated (PortableServer_Servant servant,
e_folder_set_unread_count (e_folder, folder->unreadCount); e_folder_set_unread_count (e_folder, folder->unreadCount);
if (! e_storage_new_folder (storage, path, e_folder)) { if (! e_storage_new_folder (storage, path, e_folder)) {
g_print ("Cannot register folder -- %s %s\n", path, folder->displayName); g_warning ("Cannot register folder -- %s %s\n", path, folder->displayName);
CORBA_exception_set (ev, CORBA_exception_set (ev,
CORBA_USER_EXCEPTION, CORBA_USER_EXCEPTION,
ex_GNOME_Evolution_StorageListener_Exists, ex_GNOME_Evolution_StorageListener_Exists,
@ -121,8 +121,6 @@ impl_StorageListener_notifyFolderCreated (PortableServer_Servant servant,
gtk_object_unref (GTK_OBJECT (e_folder)); gtk_object_unref (GTK_OBJECT (e_folder));
return; return;
} }
g_print ("Folder registered successfully -- %s %s\n", path, folder->displayName);
} }
static void static void

View File

@ -756,8 +756,6 @@ async_xfer_folder_step (ELocalStorage *local_storage,
priv = local_storage->priv; priv = local_storage->priv;
g_print ("async_xfer_folder_step %s -> %s\n", source_path, destination_path);
source_folder = e_storage_get_folder (E_STORAGE (local_storage), source_path); source_folder = e_storage_get_folder (E_STORAGE (local_storage), source_path);
g_assert (source_folder != NULL); g_assert (source_folder != NULL);

View File

@ -381,8 +381,6 @@ start_import (const char *folderpath,
return; return;
} }
g_print ("Importing with: %s\n", real_iid);
icd = g_new (ImporterComponentData, 1); icd = g_new (ImporterComponentData, 1);
icd->stop = FALSE; icd->stop = FALSE;
icd->destroyed = FALSE; icd->destroyed = FALSE;
@ -497,7 +495,6 @@ item_selected (GtkWidget *item,
g_free (data->choosen_iid); g_free (data->choosen_iid);
iid = gtk_object_get_data (GTK_OBJECT (item), "oafiid"); iid = gtk_object_get_data (GTK_OBJECT (item), "oafiid");
g_print ("iid: %s\n", iid);
if (iid == NULL) if (iid == NULL)
data->choosen_iid = g_strdup ("Automatic"); data->choosen_iid = g_strdup ("Automatic");
else else

View File

@ -466,8 +466,6 @@ finalize_offline_hash_foreach (void *key,
CORBA_exception_init (&ev); CORBA_exception_init (&ev);
g_print ("Putting component off-line -- %s", component_info->id);
GNOME_Evolution_Offline_goOffline (component_info->offline_interface, GNOME_Evolution_Offline_goOffline (component_info->offline_interface,
component_info->progress_listener_interface, component_info->progress_listener_interface,
&ev); &ev);

View File

@ -143,8 +143,6 @@ druid_event_notify_cb (BonoboListener *listener,
page = g_list_nth_data (page_list, pagenum); page = g_list_nth_data (page_list, pagenum);
gnome_druid_set_page (GNOME_DRUID (data->druid), page); gnome_druid_set_page (GNOME_DRUID (data->druid), page);
} else {
g_print ("Event: %s\n", name);
} }
} }
@ -787,10 +785,8 @@ e_shell_startup_wizard_create (void)
CORBA_exception_free (&ev); CORBA_exception_free (&ev);
if (runbefore == TRUE) { if (runbefore == TRUE) {
g_print ("Already run\n");
bonobo_object_release_unref (data->db, NULL); bonobo_object_release_unref (data->db, NULL);
g_free (data); g_free (data);
return TRUE; return TRUE;
} }

View File

@ -606,7 +606,6 @@ setup_components (EShell *shell,
e_shell_user_creatable_items_handler_add_component e_shell_user_creatable_items_handler_add_component
(priv->user_creatable_items_handler, (priv->user_creatable_items_handler,
e_component_registry_get_component_by_id (priv->component_registry, info->iid)); e_component_registry_get_component_by_id (priv->component_registry, info->iid));
g_print ("Evolution component activated successfully -- %s\n", info->iid);
} }
if (splash != NULL) if (splash != NULL)

View File

@ -68,8 +68,6 @@ get_icon_for_item (EShortcutsViewModel *shortcuts_view_model,
want_mini); want_mini);
} }
g_print ("(%s is not a folder!)\n", item->name);
return NULL; return NULL;
} }

View File

@ -458,7 +458,6 @@ idle_cb (void *data)
priv = shortcuts->priv; priv = shortcuts->priv;
if (priv->dirty) { if (priv->dirty) {
g_print ("Saving shortcuts -- %s\n", priv->file_name);
if (! e_shortcuts_save (shortcuts, NULL)) if (! e_shortcuts_save (shortcuts, NULL))
g_warning ("Saving of shortcuts failed -- %s", priv->file_name); g_warning ("Saving of shortcuts failed -- %s", priv->file_name);
else else

View File

@ -831,7 +831,6 @@ tree_drag_begin (ETree *etree,
storage_set_view = E_STORAGE_SET_VIEW (etree); storage_set_view = E_STORAGE_SET_VIEW (etree);
priv = storage_set_view->priv; priv = storage_set_view->priv;
g_print ("%s -- %d\n", __FUNCTION__, row);
g_free (priv->selected_row_path); g_free (priv->selected_row_path);
priv->selected_row_path = g_strdup (e_tree_memory_node_get_data (E_TREE_MEMORY(priv->etree_model), path)); priv->selected_row_path = g_strdup (e_tree_memory_node_get_data (E_TREE_MEMORY(priv->etree_model), path));
@ -1179,13 +1178,11 @@ tree_drag_data_received (ETree *etree,
switch (context->action) { switch (context->action) {
case GDK_ACTION_MOVE: case GDK_ACTION_MOVE:
g_print ("EStorageSetView: Moving from `%s' to `%s'\n", source_path, destination_path);
e_storage_set_async_xfer_folder (priv->storage_set, source_path, destination_path, TRUE, e_storage_set_async_xfer_folder (priv->storage_set, source_path, destination_path, TRUE,
folder_xfer_callback, NULL); folder_xfer_callback, NULL);
handled = TRUE; handled = TRUE;
break; break;
case GDK_ACTION_COPY: case GDK_ACTION_COPY:
g_print ("EStorageSetView: Copying from `%s' to `%s'\n", source_path, destination_path);
e_storage_set_async_xfer_folder (priv->storage_set, source_path, destination_path, FALSE, e_storage_set_async_xfer_folder (priv->storage_set, source_path, destination_path, FALSE,
folder_xfer_callback, NULL); folder_xfer_callback, NULL);
handled = TRUE; handled = TRUE;

View File

@ -205,7 +205,6 @@ storage_removed_folder_cb (EStorage *storage,
storage_set = E_STORAGE_SET (data); storage_set = E_STORAGE_SET (data);
full_path = make_full_path (storage, path); full_path = make_full_path (storage, path);
g_print ("EStorageSet: Removed folder -- %s\n", full_path);
gtk_signal_emit (GTK_OBJECT (storage_set), signals[REMOVED_FOLDER], full_path); gtk_signal_emit (GTK_OBJECT (storage_set), signals[REMOVED_FOLDER], full_path);
g_free (full_path); g_free (full_path);
} }

View File

@ -61,8 +61,6 @@ spit_out_shortcuts (EvolutionShellClient *shell_client)
CORBA_Environment ev; CORBA_Environment ev;
int i, j; int i, j;
g_print ("** Getting shortcuts from the shell:\n");
CORBA_exception_init (&ev); CORBA_exception_init (&ev);
shortcuts_interface = evolution_shell_client_get_shortcuts_interface (shell_client); shortcuts_interface = evolution_shell_client_get_shortcuts_interface (shell_client);

View File

@ -106,7 +106,6 @@ impl_GNOME_Evolution_Wizard_notifyAction (PortableServer_Servant servant,
return; return;
} }
g_print ("Emit something\n");
switch (action) { switch (action) {
case GNOME_Evolution_Wizard_NEXT: case GNOME_Evolution_Wizard_NEXT:
gtk_signal_emit (GTK_OBJECT (bonobo_object), signals[NEXT], gtk_signal_emit (GTK_OBJECT (bonobo_object), signals[NEXT],
@ -124,7 +123,6 @@ impl_GNOME_Evolution_Wizard_notifyAction (PortableServer_Servant servant,
break; break;
case GNOME_Evolution_Wizard_FINISH: case GNOME_Evolution_Wizard_FINISH:
g_print ("Emit finish\n");
gtk_signal_emit (GTK_OBJECT (bonobo_object), signals[FINISH], gtk_signal_emit (GTK_OBJECT (bonobo_object), signals[FINISH],
pagenumber); pagenumber);
break; break;