* Now stores signatures and status files to "~/config/settings/Mail/" instead
of "bemail". * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33554 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
206761086b
commit
6392fa4dc9
@ -31,6 +31,7 @@ of Be Incorporated in the United States and other countries. Other brand product
|
||||
names are registered trademarks or trademarks of their respective holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
#include "Signature.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@ -338,10 +339,10 @@ TSignatureWindow::Save()
|
||||
find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
|
||||
dir.SetTo(path.Path());
|
||||
|
||||
if (dir.FindEntry("bemail", &entry) == B_NO_ERROR)
|
||||
if (dir.FindEntry("Mail", &entry) == B_NO_ERROR)
|
||||
dir.SetTo(&entry);
|
||||
else
|
||||
dir.CreateDirectory("bemail", &dir);
|
||||
dir.CreateDirectory("Mail", &dir);
|
||||
|
||||
if (dir.InitCheck() != B_NO_ERROR)
|
||||
goto err_exit;
|
||||
|
@ -138,10 +138,10 @@ TStatusWindow::MessageReceived(BMessage* msg)
|
||||
|
||||
find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
|
||||
dir.SetTo(path.Path());
|
||||
if (dir.FindEntry("bemail", &entry) == B_NO_ERROR)
|
||||
if (dir.FindEntry("Mail", &entry) == B_NO_ERROR)
|
||||
dir.SetTo(&entry);
|
||||
else
|
||||
dir.CreateDirectory("bemail", &dir);
|
||||
dir.CreateDirectory("Mail", &dir);
|
||||
if (dir.InitCheck() != B_NO_ERROR)
|
||||
goto err_exit;
|
||||
if (dir.FindEntry("status", &entry) == B_NO_ERROR)
|
||||
|
Loading…
Reference in New Issue
Block a user