return FALSE;
if (TNY_IS_ACCOUNT (instance)) {
+#ifdef MODEST_TOOLKIT_HILDON2
+ /* In hildon 2.2 we don't show the account rows */
+ return FALSE;
+#else
TnyAccount *acc = TNY_ACCOUNT (instance);
const gchar *account_id = tny_account_get_id (acc);
* in the local-folders account instead: */
if (retval && MODEST_IS_TNY_OUTBOX_ACCOUNT (acc))
retval = FALSE;
+#endif
} else {
GtkTreeIter parent;
}
break;
case TNY_FOLDER_TYPE_OUTBOX:
- {
- account = tny_folder_get_account (folder_store);
- is_special = (get_cmp_rows_type_pos (G_OBJECT (account)) == 1);
- g_object_unref (account);
- return is_special?1:4;
- }
- break;
+ return 2;
+ break;
case TNY_FOLDER_TYPE_DRAFTS:
{
account = tny_folder_get_account (folder_store);
is_special = (get_cmp_rows_type_pos (G_OBJECT (account)) == 1);
g_object_unref (account);
- return is_special?2:4;
+ return is_special?1:4;
}
break;
case TNY_FOLDER_TYPE_SENT: