Commit 48cbf732 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

CSSConfig: Fetch accounts from config

parent 7acf9179
......@@ -534,7 +534,7 @@ def _invalidate_cache(self):
def refresh(self):
css = ''
accounts = app.get_accounts_sorted()
accounts = app.config.get_per('accounts')
for index, account in enumerate(accounts):
color = app.config.get_per('accounts', account, 'account_color')
css_class = 'gajim_class_%s' % index
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