diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/face/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/face/face.c | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/plugins/face/ChangeLog b/plugins/face/ChangeLog index 2b47cac720..86a2af2140 100644 --- a/plugins/face/ChangeLog +++ b/plugins/face/ChangeLog @@ -1,3 +1,10 @@ +2008-03-11 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #513951 + + * face.c (org_gnome_composer_face): + Use e_get_user_data_dir() instead of constructing the full path. + 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #437579 diff --git a/plugins/face/face.c b/plugins/face/face.c index 54010b625b..45851bee18 100644 --- a/plugins/face/face.c +++ b/plugins/face/face.c @@ -29,6 +29,7 @@ #include <glib/gi18n.h> #include <mail/em-menu.h> #include <e-util/e-error.h> +#include <e-util/e-util.h> #define d(x) x @@ -42,7 +43,7 @@ void org_gnome_composer_face (EPlugin * ep, EMMenuTargetWidget * t) GError *error = NULL; composer = (EMsgComposer *) t->target.widget; - filename = g_build_filename (g_get_home_dir (), ".evolution", "faces", NULL); + filename = g_build_filename (e_get_user_data_dir (), "faces", NULL); g_file_get_contents (filename, &file_contents, NULL, &error); if (error) { |