Fix typo
This commit is contained in:
parent
1f3bb5667d
commit
5be73fa824
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue