This commit is contained in:
Philipp Hörist 2018-09-30 15:34:08 +02:00
parent 1f3bb5667d
commit 5be73fa824
1 changed files with 1 additions and 1 deletions

View File

@ -749,7 +749,7 @@ def get_account_menu(account):
continue continue
action = 'app.{}{}'.format(account, action) action = 'app.{}{}'.format(account, action)
menuitem = Gio.MenuItem.new(label, action) menuitem = Gio.MenuItem.new(label, action)
if 'add_contact' in action: if 'add-contact' in action:
variant = GLib.Variant('as', [account, '']) variant = GLib.Variant('as', [account, ''])
else: else:
variant = GLib.Variant('s', account) variant = GLib.Variant('s', account)