diff options
author | infirit <[email protected]> | 2014-01-15 23:32:45 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-01-16 00:54:52 +0100 |
commit | 86369deb93ae28e39ef59d462fb6693747cb332f (patch) | |
tree | 8b31e8411d5d5da3b349fb17a0430a971945da09 | |
parent | bacead286679a7baaab6249c7fa99ff07318f449 (diff) | |
download | pluma-86369deb93ae28e39ef59d462fb6693747cb332f.tar.bz2 pluma-86369deb93ae28e39ef59d462fb6693747cb332f.tar.xz |
Move user plugins dir to data_dir
Plugins don't belong in config_dir so we move them to data_dir.
User will need to move the plugin dir to the new location, see NEWS.
-rw-r--r-- | NEWS | 10 | ||||
-rw-r--r-- | pluma/pluma-dirs.c | 8 |
2 files changed, 13 insertions, 5 deletions
@@ -1,3 +1,11 @@ +pluma 1.7.1 +=========== + + * Move user plugin dir from config_dir to data_dir. Plugins should have + never been installed in the config dir as they are not part of the + configuration. This means user will need to move the plugins directory + from: $HOME/.config/pluma/ to $HOME/.local/share/pluma/. + pluma 1.5.0 =========== @@ -5,4 +13,4 @@ pluma 1.5.0 (All code is migrated, except pythonconsole plugin. The plugin works, except you cant configure it; the configurable things were command and error colors; this will be fixed migrating the plugin to Gir - instead of python-gtk)
\ No newline at end of file + instead of python-gtk) diff --git a/pluma/pluma-dirs.c b/pluma/pluma-dirs.c index bb380a2a..fdeaa624 100644 --- a/pluma/pluma-dirs.c +++ b/pluma/pluma-dirs.c @@ -67,13 +67,13 @@ gchar* pluma_dirs_get_user_cache_dir(void) gchar* pluma_dirs_get_user_plugins_dir(void) { - gchar* config_dir; + gchar* data_dir; gchar* plugin_dir; - config_dir = pluma_dirs_get_user_config_dir(); + data_dir = g_get_user_data_dir(); - plugin_dir = g_build_filename(config_dir, "plugins", NULL); - g_free(config_dir); + plugin_dir = g_build_filename(data_dir, "pluma", "plugins", NULL); + g_free(data_dir); return plugin_dir; } |