Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pitchum
gajim-plugins
Commits
11d8c140
Commit
11d8c140
authored
Aug 25, 2020
by
Philipp Hörist
Browse files
[plugin_installer] Port to new Settings API
parent
2c83bd47
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugin_installer/utils.py
View file @
11d8c140
...
...
@@ -101,7 +101,11 @@ class PluginInfo:
# PluginManager. Look in the Gajim config if the plugin is
# known and active, if yes load the manifest from the Plugin
# dir and parse the version
active
=
app
.
config
.
get_per
(
'plugins'
,
self
.
short_name
,
'active'
)
plugin_settings
=
app
.
settings
.
get_plugins
()
if
self
.
short_name
not
in
plugin_settings
:
return
None
active
=
app
.
settings
.
get_plugin_setting
(
self
.
short_name
,
'active'
)
if
not
active
:
return
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment