[Commits] [SCM] claws branch, master, updated. 3.17.3-39-ga016da5
ticho at claws-mail.org
ticho at claws-mail.org
Sat Jan 12 12:53:27 CET 2019
The branch, master has been updated
via a016da5d96ce5642ba94216f56061d842bd23247 (commit)
from 968cfa882b517b23553ceb94037853e8de83abb0 (commit)
Summary of changes:
src/plugins/python/python_prefs.c | 5 -----
1 file changed, 5 deletions(-)
- Log -----------------------------------------------------------------
commit a016da5d96ce5642ba94216f56061d842bd23247
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Sat Jan 12 12:53:04 2019 +0100
Remove an unused path variable in python plugin
The plugin has no preferences page, so this is not needed.
diff --git a/src/plugins/python/python_prefs.c b/src/plugins/python/python_prefs.c
index 29ef1b7..9f57209 100644
--- a/src/plugins/python/python_prefs.c
+++ b/src/plugins/python/python_prefs.c
@@ -48,13 +48,8 @@ static PrefParam prefs[] = {
void python_prefs_init(void)
{
- static gchar *path[3];
gchar *rcpath;
- path[0] = _("Plugins");
- path[1] = "Python";
- path[2] = NULL;
-
prefs_set_default(prefs);
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMON_RC, NULL);
prefs_read_config(prefs, PREFS_BLOCK_NAME, rcpath, NULL);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list