Account icons are now shown as before the previus change in folder view icons
authorSergio Villar Senin <svillar@igalia.com>
Fri, 12 Dec 2008 11:03:17 +0000 (11:03 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 12 Dec 2008 11:03:17 +0000 (11:03 +0000)
pmo-trunk-r6800

src/widgets/modest-folder-view.c

index 1e465ab..0ea16ae 100644 (file)
@@ -631,6 +631,7 @@ get_folder_icons (TnyFolderType type, GObject *instance)
 
        /* Remote folders should not be treated as special folders */
        if (TNY_IS_FOLDER_STORE (instance) &&
 
        /* Remote folders should not be treated as special folders */
        if (TNY_IS_FOLDER_STORE (instance) &&
+           !TNY_IS_ACCOUNT (instance) &&
            type != TNY_FOLDER_TYPE_INBOX &&
            modest_tny_folder_store_is_remote (TNY_FOLDER_STORE (instance))) {
                return get_composite_icons (MODEST_FOLDER_ICON_NORMAL,
            type != TNY_FOLDER_TYPE_INBOX &&
            modest_tny_folder_store_is_remote (TNY_FOLDER_STORE (instance))) {
                return get_composite_icons (MODEST_FOLDER_ICON_NORMAL,