Index: panel-plugin/notes_applet.c =================================================================== RCS file: /cvsroot/xfce-goodies/xfce4-notes-plugin/panel-plugin/notes_applet.c,v retrieving revision 1.9 diff -u -r1.9 notes_applet.c --- panel-plugin/notes_applet.c 23 Oct 2003 12:00:06 -0000 1.9 +++ panel-plugin/notes_applet.c 27 Dec 2004 00:40:23 -0000 @@ -18,6 +18,7 @@ */ #include "notes.h" +#include static void notes_free_note(Note *note); static void notes_free(Control *ctrl); @@ -280,7 +281,7 @@ error_str = g_malloc(sizeof(char) * 256); /* set config file name */ - filename = xfce_get_userfile("notes.xml", NULL); + filename = xfce_resource_save_location(XFCE_RESOURCE_CONFIG, g_build_filename("xfce4", "notes.xml", NULL), FALSE); if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { g_free(error_str); @@ -347,7 +348,7 @@ /* note info in config file */ gchar x[5], y[5], w[5], h[5]; - filename = xfce_get_userfile("notes.xml", NULL); + filename = xfce_resource_save_location(XFCE_RESOURCE_CONFIG, g_build_filename("xfce4","notes.xml",NULL), TRUE); list = g_list_first(notes_applet.notes); while (list != NULL) {