From c9fb410e4237e8e778d54f27f009f4f4cb60397d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 18 Jan 2013 11:00:12 +0100 Subject: [PATCH] IMAP: fixed folder configuration. * Store the settings, don't archive the view; removed leftovers of the old settings API. --- .../mail_daemon/inbound_protocols/imap/ConfigView.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/ConfigView.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/ConfigView.cpp index 6cfaf452ef..745642d965 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/ConfigView.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/ConfigView.cpp @@ -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 * @@ -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();