gegl r2959 - in trunk: . gegl
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2959 - in trunk: . gegl
- Date: Sun, 15 Mar 2009 15:42:03 +0000 (UTC)
Author: ok
Date: Sun Mar 15 15:42:03 2009
New Revision: 2959
URL: http://svn.gnome.org/viewvc/gegl?rev=2959&view=rev
Log:
Applied patch from Elrond <elrond+gegl org samba tng org> that
makes GEGL use XDG base directory specification for swap and user
plug-in directories.
* gegl/gegl-init.c: (gegl_swap_dir), (gegl_post_parse_hook):
Modified:
trunk/ChangeLog
trunk/gegl/gegl-init.c
Modified: trunk/gegl/gegl-init.c
==============================================================================
--- trunk/gegl/gegl-init.c (original)
+++ trunk/gegl/gegl-init.c Sun Mar 15 15:42:03 2009
@@ -96,8 +96,8 @@
}
else
{
- swapdir = g_build_filename (g_get_home_dir(),
- "." GEGL_LIBRARY,
+ swapdir = g_build_filename (g_get_user_cache_dir(),
+ GEGL_LIBRARY,
"swap",
NULL);
}
@@ -513,9 +513,9 @@
gegl_module_db_load (module_db, module_path);
g_free (module_path);
- /* also load plug-ins from ~/.gegl-0.0/plug-ins */
- module_path = g_build_filename (g_get_home_dir (),
- "." GEGL_LIBRARY,
+ /* also load plug-ins from ~/.local/share/gegl-0.0/plugins */
+ module_path = g_build_filename (g_get_user_data_dir (),
+ GEGL_LIBRARY,
"plug-ins",
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]