Set active account of folder window before registering, to allow
authorJosé Dapena Paz <jdapena@igalia.com>
Fri, 15 Jan 2010 09:11:19 +0000 (10:11 +0100)
committerJosé Dapena Paz <jdapena@igalia.com>
Fri, 15 Jan 2010 10:47:42 +0000 (11:47 +0100)
window mgr to know it on register stage.

src/hildon2/modest-accounts-window.c

index 9609add..7c54aae 100644 (file)
@@ -461,6 +461,7 @@ on_account_activated (GtkTreeView *account_view,
        } else {
 
                new_window = GTK_WIDGET (modest_folder_window_new (NULL));
+               modest_window_set_active_account (MODEST_WINDOW (new_window), account_name);
        }
 
        registered = modest_window_mgr_register_window (modest_runtime_get_window_mgr (),