G_CALLBACK(create_move_to_dialog_on_new_folder),
*tree_view);
+#ifdef MODEST_TOOLKIT_HILDON2
+ modest_folder_view_set_cell_style (MODEST_FOLDER_VIEW (*tree_view),
+ MODEST_FOLDER_VIEW_CELL_STYLE_COMPACT);
+#endif
+
/* It could happen that we're trying to move a message from a
window (msg window for example) after the main window was
closed, so we can not just get the model of the folder
format_compact_style (gchar **item_name,
GObject *instance,
gboolean bold,
+ gboolean multiaccount,
gboolean *use_markup)
{
TnyFolder *folder;
folder_type = tny_folder_get_folder_type (folder);
is_special = (get_cmp_pos (folder_type, folder)!= 4);
- if (!is_special) {
+ if (!is_special || multiaccount) {
TnyAccount *account = tny_folder_get_account (folder);
const gchar *folder_name;
gboolean concat_folder_name = FALSE;
item_name = g_strdup ("unknown");
if (priv->cell_style == MODEST_FOLDER_VIEW_CELL_STYLE_COMPACT) {
+ gboolean multiaccount;
+
+ multiaccount = (priv->style == MODEST_FOLDER_VIEW_STYLE_SHOW_ALL);
/* Convert item_name to markup */
- format_compact_style (&item_name, instance, item_weight == 800, &use_markup);
+ format_compact_style (&item_name, instance,
+ item_weight == 800,
+ multiaccount, &use_markup);
}
if (item_name && item_weight) {