* 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:
@@ -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.
|
names are registered trademarks or trademarks of their respective holders.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Signature.h"
|
#include "Signature.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -338,10 +339,10 @@ TSignatureWindow::Save()
|
|||||||
find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
|
find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
|
||||||
dir.SetTo(path.Path());
|
dir.SetTo(path.Path());
|
||||||
|
|
||||||
if (dir.FindEntry("bemail", &entry) == B_NO_ERROR)
|
if (dir.FindEntry("Mail", &entry) == B_NO_ERROR)
|
||||||
dir.SetTo(&entry);
|
dir.SetTo(&entry);
|
||||||
else
|
else
|
||||||
dir.CreateDirectory("bemail", &dir);
|
dir.CreateDirectory("Mail", &dir);
|
||||||
|
|
||||||
if (dir.InitCheck() != B_NO_ERROR)
|
if (dir.InitCheck() != B_NO_ERROR)
|
||||||
goto err_exit;
|
goto err_exit;
|
||||||
|
|||||||
@@ -138,10 +138,10 @@ TStatusWindow::MessageReceived(BMessage* msg)
|
|||||||
|
|
||||||
find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
|
find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
|
||||||
dir.SetTo(path.Path());
|
dir.SetTo(path.Path());
|
||||||
if (dir.FindEntry("bemail", &entry) == B_NO_ERROR)
|
if (dir.FindEntry("Mail", &entry) == B_NO_ERROR)
|
||||||
dir.SetTo(&entry);
|
dir.SetTo(&entry);
|
||||||
else
|
else
|
||||||
dir.CreateDirectory("bemail", &dir);
|
dir.CreateDirectory("Mail", &dir);
|
||||||
if (dir.InitCheck() != B_NO_ERROR)
|
if (dir.InitCheck() != B_NO_ERROR)
|
||||||
goto err_exit;
|
goto err_exit;
|
||||||
if (dir.FindEntry("status", &entry) == B_NO_ERROR)
|
if (dir.FindEntry("status", &entry) == B_NO_ERROR)
|
||||||
|
|||||||
Reference in New Issue
Block a user