about summary refs log tree commit diff stats
path: root/apidocs/python
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-07 00:22:21 +0100
committerJames Booth <boothj5@gmail.com>2016-08-07 00:22:21 +0100
commit4f7af4e429612167c8c4242a2096e001a43a2318 (patch)
treeed3801395085ae8145994bffcb0e53b62fc0a325 /apidocs/python
parentefeb2fcfcd9a86bf80558c86fc92dadc3fbf52b8 (diff)
downloadprofani-tty-4f7af4e429612167c8c4242a2096e001a43a2318.tar.gz
Update plugin API docs
Diffstat (limited to 'apidocs/python')
-rw-r--r--apidocs/python/src/prof.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/apidocs/python/src/prof.py b/apidocs/python/src/prof.py
index d25a5943..e91e8852 100644
--- a/apidocs/python/src/prof.py
+++ b/apidocs/python/src/prof.py
@@ -388,7 +388,7 @@ def send_stanza(stanza):
     pass
 
 
-def settings_get_boolean(group, key, default):
+def settings_boolean_get(group, key, default):
     """Get a boolean setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``
 
@@ -406,7 +406,7 @@ def settings_get_boolean(group, key, default):
     pass
 
 
-def settings_set_boolean(group, key, value):
+def settings_boolean_set(group, key, value):
     """Set a boolean setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``
 
@@ -424,7 +424,7 @@ def settings_set_boolean(group, key, value):
     pass
 
 
-def settings_get_string(group, key, default):
+def settings_string_get(group, key, default):
     """Get a string setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``
 
@@ -442,7 +442,7 @@ def settings_get_string(group, key, default):
     pass
 
 
-def settings_set_string(group, key, value):
+def settings_string_set(group, key, value):
     """Set a string setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``
 
@@ -460,7 +460,7 @@ def settings_set_string(group, key, value):
     pass
 
 
-def settings_get_string_list(group, key):
+def settings_string_list_get(group, key):
     """Get a string list setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``\n
     The string list setting items are separated by semicolons.
@@ -515,7 +515,7 @@ def settings_string_list_remove(group, key, value):
     """
 
 
-def settings_string_list_remove_all(group, key):
+def settings_string_list_clear(group, key):
     """Remove all items from a string list setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``\n
 
@@ -532,7 +532,7 @@ def settings_string_list_remove_all(group, key):
     """
 
 
-def settings_get_int(group, key, default):
+def settings_int_get(group, key, default):
     """Get an integer setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``
 
@@ -550,7 +550,7 @@ def settings_get_int(group, key, default):
     pass
 
 
-def settings_set_int(group, key, value):
+def settings_int_set(group, key, value):
     """Set an integer setting\n
     Settings must be specified in ``~/.local/share/profanity/plugin_settings``