From: José Dapena Paz Date: Thu, 18 Feb 2010 09:13:45 +0000 (+0100) Subject: Set the active account on creating folder window from mailboxes window, X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=b8a28ec2cedd74525ff802fb341a96e64c5481b1 Set the active account on creating folder window from mailboxes window, to avoid a crash caused by a bad rule in new window manager for hildon2 Fixes NB#157399. --- diff --git a/src/widgets/modest-mailboxes-window.c b/src/widgets/modest-mailboxes-window.c index 28cddde..89df684 100644 --- a/src/widgets/modest-mailboxes-window.c +++ b/src/widgets/modest-mailboxes-window.c @@ -475,6 +475,8 @@ on_mailbox_activated (ModestFolderView *mailboxes_view, return; 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); registered = modest_window_mgr_register_window (modest_runtime_get_window_mgr (), MODEST_WINDOW (new_window), MODEST_WINDOW (self));