IMAP: fixed folder configuration.

* Store the settings, don't archive the view; removed leftovers of the
  old settings API.
This commit is contained in:
Axel Dörfler 2013-01-18 11:00:12 +01:00
parent d6ce6060b9
commit c9fb410e42

View File

@ -1,5 +1,5 @@
/*
* Copyright 2001-2012, Haiku, Inc. All rights reserved.
* Copyright 2001-2013, Haiku, Inc. All rights reserved.
* Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
* Copyright 2011, Clemens Zeidler <haiku@clemens-zeidler.de>
*
@ -110,8 +110,10 @@ ConfigView::MessageReceived(BMessage* message)
switch (message->what) {
case kMsgOpenIMAPFolder:
{
BMessage settings;
Archive(&settings);
// Retrieve current settings
BMailAddOnSettings settings;
SaveInto(settings);
BWindow* window = new FolderConfigWindow(Window()->Frame(),
settings);
window->Show();