Fix typo on fix for NB#157399.
authorJosé Dapena Paz <jdapena@igalia.com>
Thu, 18 Feb 2010 16:18:58 +0000 (17:18 +0100)
committerJosé Dapena Paz <jdapena@igalia.com>
Thu, 18 Feb 2010 16:18:58 +0000 (17:18 +0100)
src/hildon2/modest-mailboxes-window.c

index d3a8d67..5636c04 100644 (file)
@@ -452,7 +452,7 @@ on_mailbox_activated (ModestFolderView *mailboxes_view,
 
        new_window = GTK_WIDGET (modest_folder_window_new (NULL));
        active_account = modest_window_get_active_account (MODEST_WINDOW (self));
 
        new_window = GTK_WIDGET (modest_folder_window_new (NULL));
        active_account = modest_window_get_active_account (MODEST_WINDOW (self));
-       modest_window_set_active_account (MODEST_WINDOW (self), active_account);
+       modest_window_set_active_account (MODEST_WINDOW (new_window), active_account);
        registered = modest_window_mgr_register_window (modest_runtime_get_window_mgr (), 
                                                        MODEST_WINDOW (new_window),
                                                        MODEST_WINDOW (self));
        registered = modest_window_mgr_register_window (modest_runtime_get_window_mgr (), 
                                                        MODEST_WINDOW (new_window),
                                                        MODEST_WINDOW (self));