Commit e9c0f0a1 authored by Philipp Hörist's avatar Philipp Hörist

[appindicator] Port to new Settings API

parent 75795a29
......@@ -102,8 +102,8 @@ class AppindicatorIntegrationPlugin(GajimPlugin):
def connect(self, widget, data=None):
for account in app.connections:
if app.config.get_per('accounts', account,
if app.settings.get_account_setting(account,
......@@ -116,8 +116,8 @@ class AppindicatorIntegrationPlugin(GajimPlugin):
def set_indicator_icon(self, *args):
is_connected = 0
for account in app.connections:
if not app.config.get_per('accounts', account,
if not app.settings.get_account_setting(account,
if app.account_is_connected(account):
is_connected = 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment