Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-05-28 17:22:18 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-05-28 17:22:18 (GMT)
commitb7bfe6a3101895b8b4296bb574086fb7029dfeb9 (patch)
treee0091b47c23cdd6e408d89996ba2a5649f2d7edb
parenta0b3097ec332020fad02ebe02558387c5b3e3fc4 (diff)
Set paths as persistent
-rw-r--r--src/HulahopDirectoryProvider.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HulahopDirectoryProvider.cpp b/src/HulahopDirectoryProvider.cpp
index 6fc438c..04904f6 100644
--- a/src/HulahopDirectoryProvider.cpp
+++ b/src/HulahopDirectoryProvider.cpp
@@ -51,6 +51,9 @@ HulahopDirectoryProvider::GetFile(const char *aKey,
{
nsresult rv;
+ // All our paths are currently persistent
+ *aPersist = PR_TRUE;
+
if ((!strcmp(aKey, NS_APP_USER_PROFILE_50_DIR) ||
!strcmp(aKey, NS_APP_USER_PROFILE_LOCAL_50_DIR)) && mProfilePath) {
NS_ADDREF(*aResult = mProfilePath);