2007-06-03 Armin Burgmeier <armin@openismus.com>
[modest] / src / widgets / modest-folder-view.c
index 52e033b..120725b 100644 (file)
@@ -302,12 +302,7 @@ text_cell_data  (GtkTreeViewColumn *column,  GtkCellRenderer *renderer,
                if (!strcmp (account_id, MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID)) {
                        item_name = g_strdup (priv->local_account_name);
                } else {
-                       if (!strcmp (account_id, MODEST_MMC_ACCOUNT_ID)) {
-                               /* TODO: get MMC card name */
-                               item_name = g_strdup (_("MMC"));
-                       } else {
-                               item_name = g_strdup (fname);
-                       }
+                       item_name = g_strdup (fname);
                }
 
                item_weight = 800;
@@ -316,7 +311,7 @@ text_cell_data  (GtkTreeViewColumn *column,  GtkCellRenderer *renderer,
        {
                /* We use ModestTnySimpleFolder store to group the outboxes and 
                 * the other local folders together: */
-               item_name = g_strdup (_("Local Folders"));
+               item_name = g_strdup (priv->local_account_name);
                item_weight = 400;
        }