From: Alberto Garcia Date: Tue, 6 Nov 2007 16:03:50 +0000 (+0000) Subject: When building the Details dialog, don't assume that X-Git-Tag: git_migration_finished~2155 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=6d1653a480f516b96881ecd85363e8b3df3e69df When building the Details dialog, don't assume that the folder is not remote Fixes NB#75407 pmo-trunk-r3656 --- diff --git a/src/widgets/modest-details-dialog.c b/src/widgets/modest-details-dialog.c index 3a8ec1c..221e912 100644 --- a/src/widgets/modest-details-dialog.c +++ b/src/widgets/modest-details-dialog.c @@ -289,7 +289,7 @@ modest_details_dialog_set_folder_default (ModestDetailsDialog *self, g_return_if_fail (folder && TNY_IS_FOLDER (folder)); - g_return_if_fail (modest_tny_folder_get_local_or_mmc_folder_type (folder) + g_return_if_fail (modest_tny_folder_guess_folder_type (folder) != TNY_FOLDER_TYPE_INVALID); /* Set window title */