* 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:
Axel Dörfler
2009-10-12 14:47:16 +00:00
parent 206761086b
commit 6392fa4dc9
2 changed files with 18 additions and 17 deletions
+3 -2
View File
@@ -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;
+2 -2
View File
@@ -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)