[banshee] [OssiferSession] PWD for cookies lacking app path
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [OssiferSession] PWD for cookies lacking app path
- Date: Wed, 20 Oct 2010 06:12:49 +0000 (UTC)
commit 409891ad5317d10bc1a846e8ff10bf7959797ad1
Author: Aaron Bockover <abockover novell com>
Date: Wed Oct 20 01:59:26 2010 -0400
[OssiferSession] PWD for cookies lacking app path
If an application path is not set in Hyena, use the PWD for the cookie
jar root for ossifer. Though we might want a better place for this as
well later. Real apps should set it though.
.../Banshee.WebBrowser/OssiferSession.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.WebBrowser/Banshee.WebBrowser/OssiferSession.cs b/src/Core/Banshee.WebBrowser/Banshee.WebBrowser/OssiferSession.cs
index 1561a70..1a084ba 100644
--- a/src/Core/Banshee.WebBrowser/Banshee.WebBrowser/OssiferSession.cs
+++ b/src/Core/Banshee.WebBrowser/Banshee.WebBrowser/OssiferSession.cs
@@ -51,7 +51,7 @@ namespace Banshee.WebBrowser
return;
}
- var path = System.IO.Path.Combine (Hyena.Paths.ApplicationData, "ossifer-browser-cookies");
+ var path = System.IO.Path.Combine (Hyena.Paths.ApplicationData ?? ".", "ossifer-browser-cookies");
var path_raw = IntPtr.Zero;
try {
cookie_jar_changed_callback = new CookieJarChangedCallback (HandleCookieJarChanged);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]