about summary refs log tree commit diff stats
path: root/src/config/preferences.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-09-29 14:21:33 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-09-29 15:49:05 +0200
commit3b3a6b7a756e0f162d212249750524b7ce045cea (patch)
treebcd0d7b18a19fa02e43f6d7111c47b320c1be8f4 /src/config/preferences.c
parentfd9ccec8dc604902bbb1d444dba4223ccee0a092 (diff)
downloadprofani-tty-3b3a6b7a756e0f162d212249750524b7ce045cea.tar.gz
Remove `/python sourcepath`
I feel like this mostly is confusing people.
Also don't see much value for it.

To me it looks like a regular workflow is like:
```
/plugin install ~/src/profanity-plugins/my.py
```

The whole thing with sourcepath, install (which also loads without
having that described anywhere), load etc is confusing.
Also each plugin file that is present in
`.local/share/profanity/plugins` will then be auto loaded. Which means
after installation.
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r--src/config/preferences.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index df23efe6..0d913a36 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -1928,8 +1928,6 @@ _get_group(preference_t pref)
     case PREF_BOOKMARK_INVITE:
     case PREF_ROOM_LIST_CACHE:
         return PREF_GROUP_MUC;
-    case PREF_PLUGINS_SOURCEPATH:
-        return PREF_GROUP_PLUGINS;
     case PREF_OMEMO_LOG:
     case PREF_OMEMO_POLICY:
     case PREF_OMEMO_TRUST_MODE:
@@ -2163,8 +2161,6 @@ _get_key(preference_t pref)
         return "color.occupants.nick";
     case PREF_BOOKMARK_INVITE:
         return "bookmark.invite";
-    case PREF_PLUGINS_SOURCEPATH:
-        return "sourcepath";
     case PREF_ROOM_LIST_CACHE:
         return "rooms.cache";
     case PREF_STATUSBAR_SHOW_NAME: