From: Murray Cumming Date: Thu, 28 Jun 2007 10:31:04 +0000 (+0000) Subject: Some debug output to help me with testing. X-Git-Tag: git_migration_finished~3063 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=58ec7d4327ac0f9a84a73aa81008e637c864d681 Some debug output to help me with testing. pmo-trunk-r2473 --- diff --git a/src/modest-tny-account.c b/src/modest-tny-account.c index 61e61c5..3998145 100644 --- a/src/modest-tny-account.c +++ b/src/modest-tny-account.c @@ -460,13 +460,10 @@ on_modest_file_system_info(HildonFileSystemInfoHandle *handle, g_warning ("%s: error=%s", __FUNCTION__, error->message); } - if (error) { -/* printf (" DEBUG: %s: error=%s\n", __FUNCTION__, error->message); */ - } - const gchar *display_name = NULL; if (!error && info) { display_name = hildon_file_system_info_get_display_name(info); + printf ("DEBUG: %s: display name=%s\n", __FUNCTION__, display_name); } TnyAccount *account = TNY_ACCOUNT (callback_data->account); @@ -505,6 +502,7 @@ void modest_tny_account_get_mmc_account_name (TnyStoreAccount* self, ModestTnyAc * the same string. But why not? Why does hildon needs its own * function for this? */ + printf ("DEBUG: %s Calling hildon_file_system_info_async_new() with URI=%s\n", __FUNCTION__, uri); hildon_file_system_info_async_new(uri, on_modest_file_system_info, callback_data /* user_data */); diff --git a/src/widgets/modest-folder-view.c b/src/widgets/modest-folder-view.c index 17ba809..80870b6 100644 --- a/src/widgets/modest-folder-view.c +++ b/src/widgets/modest-folder-view.c @@ -289,6 +289,8 @@ static gboolean on_model_foreach_set_name(GtkTreeModel *model, GtkTreePath *path void on_get_mmc_account_name (TnyStoreAccount* account, gpointer user_data) { + printf ("DEBUG: %s: account name=%s\n", __FUNCTION__, tny_account_get_name (TNY_ACCOUNT(account))); + ModestFolderView *self = MODEST_FOLDER_VIEW (user_data); /* If this has been called then it means that the account name has