Ticket #4369: debug.patch

File debug.patch, 2.1 KB (added by erikos, 11 years ago)

mc patch for debugging

  • src/mcd-account-manager-default.c

    diff --git a/src/mcd-account-manager-default.c b/src/mcd-account-manager-default.c
    index 8d05fb8..e028d96 100644
    a b _get_secrets_from_keyring (const McpAccountStorage *self, 
    258258  GList *items = NULL;
    259259  GList *i;
    260260
     261  g_warning ("---> _get_secrets_from_keyring");
     262
    261263  gnome_keyring_attribute_list_append_string (match, "account", account);
    262264
    263265  ok = gnome_keyring_find_items_sync (GNOME_KEYRING_ITEM_GENERIC_SECRET,
    _get_secrets_from_keyring (const McpAccountStorage *self, 
    296298
    297299          if (!tp_strdiff (param, "password"))
    298300            {
     301              g_warning ("---> _get_secrets_from_keyring: Empathy issue");
     302
    299303              /* Empathy 3.0 was meant to migrate passwords from MC to
    300304               * itself, but it couldn't complete the migration by
    301305               * deleting the password from MC, because MC had several
    _get_secrets_from_keyring (const McpAccountStorage *self, 
    320324              if (empathy_ok == GNOME_KEYRING_RESULT_OK &&
    321325                  empathy_items != NULL)
    322326                {
     327                  g_warning ("---> _get_secrets_from_keyring: Empathy migration was not finished");
    323328                  KeyringSetData *ksd = g_slice_new0 (KeyringSetData);
    324329
    325330                  DEBUG ("An Empathy 3.0 password migration wasn't finished "
    _get_secrets_from_keyring (const McpAccountStorage *self, 
    341346
    342347              /* behave as if it had already been deleted, i.e. we never
    343348               * actually found it... */
     349              g_warning ("---> _get_secrets_from_keyring: never actually found it");
    344350              param = NULL;
    345351              value = NULL;
    346352            }
    _get_secrets_from_keyring (const McpAccountStorage *self, 
    349355            {
    350356              gchar *key = g_strdup_printf ("param-%s", param);
    351357
     358              g_warning ("---> _get_secrets_from_keyring: %s %s %s %s", amd->secrets, am, account, key);
    352359              g_key_file_set_value (amd->secrets, account, key, value);
    353360              mcp_account_manager_parameter_make_secret (am, account, key);
    354361