diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-14 05:26:42 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-14 05:26:42 +0800 |
commit | 81b29a04e528b0001d4f95f46eee80c5276101c7 (patch) | |
tree | 2f3b3de75472d41a9e23081bfa4505d77e073fa0 /shell | |
parent | c788ba0fafe0143c06efb32a633aef139d21e142 (diff) | |
download | gsoc2013-evolution-81b29a04e528b0001d4f95f46eee80c5276101c7.tar gsoc2013-evolution-81b29a04e528b0001d4f95f46eee80c5276101c7.tar.gz gsoc2013-evolution-81b29a04e528b0001d4f95f46eee80c5276101c7.tar.bz2 gsoc2013-evolution-81b29a04e528b0001d4f95f46eee80c5276101c7.tar.lz gsoc2013-evolution-81b29a04e528b0001d4f95f46eee80c5276101c7.tar.xz gsoc2013-evolution-81b29a04e528b0001d4f95f46eee80c5276101c7.tar.zst gsoc2013-evolution-81b29a04e528b0001d4f95f46eee80c5276101c7.zip |
[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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 49 | ||||
-rw-r--r-- | shell/e-component-registry.c | 7 | ||||
-rw-r--r-- | shell/e-corba-storage-registry.c | 4 | ||||
-rw-r--r-- | shell/e-corba-storage.c | 4 | ||||
-rw-r--r-- | shell/e-local-storage.c | 2 | ||||
-rw-r--r-- | shell/e-shell-importer.c | 3 | ||||
-rw-r--r-- | shell/e-shell-offline-handler.c | 2 | ||||
-rw-r--r-- | shell/e-shell-startup-wizard.c | 4 | ||||
-rw-r--r-- | shell/e-shell.c | 1 | ||||
-rw-r--r-- | shell/e-shortcuts-view-model.c | 2 | ||||
-rw-r--r-- | shell/e-shortcuts.c | 1 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 3 | ||||
-rw-r--r-- | shell/e-storage-set.c | 1 | ||||
-rw-r--r-- | shell/evolution-test-component.c | 2 | ||||
-rw-r--r-- | shell/evolution-wizard.c | 2 |
15 files changed, 50 insertions, 37 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index ba3194db23..f87c9410e3 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,54 @@ 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> + * e-shell-view.c (pop_up_folder_bar): Disable DnD on the EStorageSetView to avoid strange behaviors. (reparent_storage_set_view_box_and_destroy_popup): Re-enable DnD diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c index 9ca257d788..3851821741 100644 --- a/shell/e-component-registry.c +++ b/shell/e-component-registry.c @@ -88,8 +88,6 @@ component_free (Component *component) GNOME_Evolution_ShellComponent_unsetOwner (corba_shell_component, &ev); if (ev._major != CORBA_NO_EXCEPTION) g_warning ("Cannot unregister component -- %s", component->id); - else - g_print ("Component unregistered successfully -- %s\n", component->id); CORBA_exception_free (&ev); g_free (component->id); @@ -203,9 +201,6 @@ register_component (EComponentRegistry *component_registry, component)) { g_warning ("Cannot register type `%s' for component %s", 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]; 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); - else - g_print ("Registered handler for schema `%s' -- %s\n", schema, component->id); } CORBA_free (supported_schemas); diff --git a/shell/e-corba-storage-registry.c b/shell/e-corba-storage-registry.c index ae1b67ef13..5bca8583cd 100644 --- a/shell/e-corba-storage-registry.c +++ b/shell/e-corba-storage-registry.c @@ -81,8 +81,6 @@ impl_StorageRegistry_addStorage (PortableServer_Servant servant, EStorage *storage; GNOME_Evolution_StorageListener listener_interface; - g_print ("Shell: Registering storage -- %s\n", name); - bonobo_object = bonobo_object_from_servant (servant); storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object); priv = storage_registry->priv; @@ -123,8 +121,6 @@ impl_StorageRegistry_removeStorageByName (PortableServer_Servant servant, ECorbaStorageRegistryPrivate *priv; EStorage *storage; - g_print ("Shell: Removing storage -- %s\n", name); - bonobo_object = bonobo_object_from_servant (servant); storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object); priv = storage_registry->priv; diff --git a/shell/e-corba-storage.c b/shell/e-corba-storage.c index 9f1d936aee..03fa1dd4a9 100644 --- a/shell/e-corba-storage.c +++ b/shell/e-corba-storage.c @@ -113,7 +113,7 @@ impl_StorageListener_notifyFolderCreated (PortableServer_Servant servant, e_folder_set_unread_count (e_folder, folder->unreadCount); 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_USER_EXCEPTION, ex_GNOME_Evolution_StorageListener_Exists, @@ -121,8 +121,6 @@ impl_StorageListener_notifyFolderCreated (PortableServer_Servant servant, gtk_object_unref (GTK_OBJECT (e_folder)); return; } - - g_print ("Folder registered successfully -- %s %s\n", path, folder->displayName); } static void diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c index f90f29ea59..94c7523756 100644 --- a/shell/e-local-storage.c +++ b/shell/e-local-storage.c @@ -756,8 +756,6 @@ async_xfer_folder_step (ELocalStorage *local_storage, 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); g_assert (source_folder != NULL); diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index 7cd8ba10db..71f6a76806 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -381,8 +381,6 @@ start_import (const char *folderpath, return; } - g_print ("Importing with: %s\n", real_iid); - icd = g_new (ImporterComponentData, 1); icd->stop = FALSE; icd->destroyed = FALSE; @@ -497,7 +495,6 @@ item_selected (GtkWidget *item, g_free (data->choosen_iid); iid = gtk_object_get_data (GTK_OBJECT (item), "oafiid"); - g_print ("iid: %s\n", iid); if (iid == NULL) data->choosen_iid = g_strdup ("Automatic"); else diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index bf3c0120ee..00f6f24f89 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -466,8 +466,6 @@ finalize_offline_hash_foreach (void *key, CORBA_exception_init (&ev); - g_print ("Putting component off-line -- %s", component_info->id); - GNOME_Evolution_Offline_goOffline (component_info->offline_interface, component_info->progress_listener_interface, &ev); diff --git a/shell/e-shell-startup-wizard.c b/shell/e-shell-startup-wizard.c index 4095a240e2..b5e8e05bd8 100644 --- a/shell/e-shell-startup-wizard.c +++ b/shell/e-shell-startup-wizard.c @@ -143,8 +143,6 @@ druid_event_notify_cb (BonoboListener *listener, page = g_list_nth_data (page_list, pagenum); 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); if (runbefore == TRUE) { - g_print ("Already run\n"); bonobo_object_release_unref (data->db, NULL); g_free (data); - return TRUE; } diff --git a/shell/e-shell.c b/shell/e-shell.c index aa258f5bea..8ebb607f65 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -606,7 +606,6 @@ setup_components (EShell *shell, e_shell_user_creatable_items_handler_add_component (priv->user_creatable_items_handler, 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) diff --git a/shell/e-shortcuts-view-model.c b/shell/e-shortcuts-view-model.c index fcacdfdd9a..e19315f920 100644 --- a/shell/e-shortcuts-view-model.c +++ b/shell/e-shortcuts-view-model.c @@ -68,8 +68,6 @@ get_icon_for_item (EShortcutsViewModel *shortcuts_view_model, want_mini); } - g_print ("(%s is not a folder!)\n", item->name); - return NULL; } diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c index 9098fded60..a343d5caca 100644 --- a/shell/e-shortcuts.c +++ b/shell/e-shortcuts.c @@ -458,7 +458,6 @@ idle_cb (void *data) priv = shortcuts->priv; if (priv->dirty) { - g_print ("Saving shortcuts -- %s\n", priv->file_name); if (! e_shortcuts_save (shortcuts, NULL)) g_warning ("Saving of shortcuts failed -- %s", priv->file_name); else diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 835cef4301..581891a309 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -831,7 +831,6 @@ tree_drag_begin (ETree *etree, storage_set_view = E_STORAGE_SET_VIEW (etree); priv = storage_set_view->priv; - g_print ("%s -- %d\n", __FUNCTION__, row); 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)); @@ -1179,13 +1178,11 @@ tree_drag_data_received (ETree *etree, switch (context->action) { 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, folder_xfer_callback, NULL); handled = TRUE; break; 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, folder_xfer_callback, NULL); handled = TRUE; diff --git a/shell/e-storage-set.c b/shell/e-storage-set.c index 467ef7c98c..3b17448532 100644 --- a/shell/e-storage-set.c +++ b/shell/e-storage-set.c @@ -205,7 +205,6 @@ storage_removed_folder_cb (EStorage *storage, storage_set = E_STORAGE_SET (data); 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); g_free (full_path); } diff --git a/shell/evolution-test-component.c b/shell/evolution-test-component.c index 3e64464cbb..2cad304136 100644 --- a/shell/evolution-test-component.c +++ b/shell/evolution-test-component.c @@ -61,8 +61,6 @@ spit_out_shortcuts (EvolutionShellClient *shell_client) CORBA_Environment ev; int i, j; - g_print ("** Getting shortcuts from the shell:\n"); - CORBA_exception_init (&ev); shortcuts_interface = evolution_shell_client_get_shortcuts_interface (shell_client); diff --git a/shell/evolution-wizard.c b/shell/evolution-wizard.c index 0d21cd9eed..20f576e8e7 100644 --- a/shell/evolution-wizard.c +++ b/shell/evolution-wizard.c @@ -106,7 +106,6 @@ impl_GNOME_Evolution_Wizard_notifyAction (PortableServer_Servant servant, return; } - g_print ("Emit something\n"); switch (action) { case GNOME_Evolution_Wizard_NEXT: gtk_signal_emit (GTK_OBJECT (bonobo_object), signals[NEXT], @@ -124,7 +123,6 @@ impl_GNOME_Evolution_Wizard_notifyAction (PortableServer_Servant servant, break; case GNOME_Evolution_Wizard_FINISH: - g_print ("Emit finish\n"); gtk_signal_emit (GTK_OBJECT (bonobo_object), signals[FINISH], pagenumber); break; |