Use keyword init for Labels

keyword-less init is deprecated
This commit is contained in:
Philipp Hörist 2018-10-24 23:04:14 +02:00
parent 974b351338
commit 2c6b2e0bb4
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ class Account(Gtk.Box):
self.options = AccountPage(account, parent)
self.parent = parent
self.label = Gtk.Label(app.get_account_label(account))
self.label = Gtk.Label(label=app.get_account_label(account))
self.label.set_halign(Gtk.Align.START)
self.label.set_hexpand(True)