* with the latest tinymail, there is no need to force a refresh
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Thu, 2 Aug 2007 07:20:58 +0000 (07:20 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Thu, 2 Aug 2007 07:20:58 +0000 (07:20 +0000)
  of the folder model anymore, when the account name changes.

pmo-trunk-r2905

src/widgets/modest-folder-view.c

index 478a892..121fa13 100644 (file)
@@ -834,18 +834,7 @@ static void
 on_account_changed (TnyAccountStore *account_store, TnyAccount *tny_account,
                    gpointer user_data)
 {
-       ModestFolderView*  self;
-
-       self = MODEST_FOLDER_VIEW (user_data);
-       
-       /* Ignore transport account insertions, we're not showing them
-          in the folder view */
-       if (TNY_IS_TRANSPORT_ACCOUNT (tny_account))
-               return;
-       
-       /* ugly hack to force a redraw */
-       modest_folder_view_update_model (self,
-                                        account_store);
+       /* do nothing */
 }