diff options
author | monsta <[email protected]> | 2016-12-13 17:01:31 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-02-28 17:06:49 +0300 |
commit | 473848999d477268ebe55208e750198cea851596 (patch) | |
tree | 4cf1065b48876ecc804cd818982622ea201e0779 /plugins | |
parent | acbc8a81d95941daf6d440698b75fb9158008768 (diff) | |
download | pluma-473848999d477268ebe55208e750198cea851596.tar.bz2 pluma-473848999d477268ebe55208e750198cea851596.tar.xz |
taglist plugin: don't look for taglist in non-existing legacy dirs
these names are result of excessive gedit -> pluma renaming
(back in 2011), so these dirs never actually existed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/taglist/pluma-taglist-plugin-parser.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/plugins/taglist/pluma-taglist-plugin-parser.c b/plugins/taglist/pluma-taglist-plugin-parser.c index a67fae5d..75c06f39 100644 --- a/plugins/taglist/pluma-taglist-plugin-parser.c +++ b/plugins/taglist/pluma-taglist-plugin-parser.c @@ -43,8 +43,6 @@ #include "pluma-taglist-plugin-parser.h" -/* we screwed up so we still look here for compatibility */ -#define USER_PLUMA_TAGLIST_PLUGIN_LOCATION_LEGACY ".pluma/plugins/taglist/" #define USER_PLUMA_TAGLIST_PLUGIN_LOCATION "pluma/taglist/" TagList* taglist = NULL; @@ -603,33 +601,12 @@ TagList* create_taglist(const gchar* data_dir) } const gchar* home; - const gchar* envvar; /* load user's taglists */ - /* legacy dir */ home = g_get_home_dir (); if (home != NULL) { - pdir = g_build_filename (home, - USER_PLUMA_TAGLIST_PLUGIN_LOCATION_LEGACY, - NULL); - parse_taglist_dir (pdir); - g_free (pdir); - } - - /* Support old libmate env var */ - envvar = g_getenv ("MATE22_USER_DIR"); - if (envvar != NULL) - { - pdir = g_build_filename (envvar, - USER_PLUMA_TAGLIST_PLUGIN_LOCATION, - NULL); - parse_taglist_dir (pdir); - g_free (pdir); - } - else if (home != NULL) - { pdir = g_build_filename(home, ".config", USER_PLUMA_TAGLIST_PLUGIN_LOCATION, NULL); parse_taglist_dir(pdir); g_free (pdir); |