[rhythmbox] audioscrobbler: move sessions file into audioscrobbler subdir
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] audioscrobbler: move sessions file into audioscrobbler subdir
- Date: Tue, 21 Sep 2010 10:55:08 +0000 (UTC)
commit c87ff624d8d5cdaeaefb510c7c07b795fb791c59
Author: Jamie Nicol <jamie thenicols net>
Date: Thu Aug 12 17:33:58 2010 +0100
audioscrobbler: move sessions file into audioscrobbler subdir
plugins/audioscrobbler/rb-audioscrobbler-account.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/audioscrobbler/rb-audioscrobbler-account.c b/plugins/audioscrobbler/rb-audioscrobbler-account.c
index a003215..ed2d178 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler-account.c
+++ b/plugins/audioscrobbler/rb-audioscrobbler-account.c
@@ -40,7 +40,7 @@
#include "rb-file-helpers.h"
#include "rb-util.h"
-#define SESSION_SETTINGS_FILE "audioscrobbler_sessions"
+#define SESSION_SETTINGS_FILE "sessions"
#define SESSION_KEY_REQUEST_TIMEOUT 5
struct _RBAudioscrobblerAccountPrivate
@@ -322,7 +322,7 @@ load_session_settings (RBAudioscrobblerAccount *account)
return;
}
- file_path = g_build_filename (rb_data_dir, SESSION_SETTINGS_FILE, NULL);
+ file_path = g_build_filename (rb_data_dir, "audioscrobbler", SESSION_SETTINGS_FILE, NULL);
key_file = g_key_file_new ();
g_key_file_load_from_file (key_file, file_path, G_KEY_FILE_NONE, NULL);
@@ -378,7 +378,7 @@ save_session_settings (RBAudioscrobblerAccount *account)
return;
}
- file_path = g_build_filename (rb_data_dir, SESSION_SETTINGS_FILE, NULL);
+ file_path = g_build_filename (rb_data_dir, "audioscrobbler", SESSION_SETTINGS_FILE, NULL);
key_file = g_key_file_new ();
/* load existing file contents. errors wont matter, just means file doesn't exist yet */
g_key_file_load_from_file (key_file, file_path, G_KEY_FILE_KEEP_COMMENTS, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]