[Xfce4-commits] <parole:master> Move history and playlist to .config/xfce4/parole

Sean Davis noreply at xfce.org
Thu Feb 21 03:14:02 CET 2013


Updating branch refs/heads/master
         to 4efdfe72d0d5836ca420e0fd079d75246f2529ac (commit)
       from bb0cd4eb4389a446f49644cdbacb844554ced8a8 (commit)

commit 4efdfe72d0d5836ca420e0fd079d75246f2529ac
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Feb 20 21:12:09 2013 -0500

    Move history and playlist to .config/xfce4/parole

 src/common/parole-rc-utils.h |    2 +-
 src/parole-medialist.c       |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/common/parole-rc-utils.h b/src/common/parole-rc-utils.h
index fd7c623..51fd572 100644
--- a/src/common/parole-rc-utils.h
+++ b/src/common/parole-rc-utils.h
@@ -24,7 +24,7 @@
 #include <libxfce4util/libxfce4util.h>
 
 #define PAROLE_RESOURCE_FILE 		"xfce4/src/misc/parole-media-player.rc"
-#define PAROLE_HISTORY_FILE 		"xfce4/src/misc/history"
+#define PAROLE_HISTORY_FILE 		"xfce4/parole/history"
 
 #define PAROLE_RC_GROUP_GENERAL		"General"
 #define PAROLE_RC_GROUP_PLUGINS		"Plugins"
diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index fb2f8b7..227b2f9 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -55,7 +55,7 @@
 
 #include "common/parole-common.h"
 
-#define PAROLE_AUTO_SAVED_PLAYLIST 	"xfce4/src/misc/auto-saved-playlist.m3u"
+#define PAROLE_AUTO_SAVED_PLAYLIST 	"xfce4/parole/auto-saved-playlist.m3u"
 
 typedef struct
 {
@@ -1739,7 +1739,7 @@ void parole_media_list_load (ParoleMediaList *list)
     {
 	gchar *playlist_file;
 	
-	playlist_file = xfce_resource_save_location (XFCE_RESOURCE_DATA, 
+	playlist_file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, 
 			 		             PAROLE_AUTO_SAVED_PLAYLIST, 
 						     FALSE);
 	if ( playlist_file )
@@ -2112,7 +2112,7 @@ void parole_media_list_save_list (ParoleMediaList *list)
 	GSList *fileslist;
 	gchar *history;
 
-	history = xfce_resource_save_location (XFCE_RESOURCE_DATA, PAROLE_AUTO_SAVED_PLAYLIST , TRUE);
+	history = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, PAROLE_AUTO_SAVED_PLAYLIST , TRUE);
 	
 	if ( !history )
 	{


More information about the Xfce4-commits mailing list