Thread args/kwargs on template
This commit is contained in:
parent
c10bae300c
commit
b6a38f3821
@ -19,8 +19,8 @@ class PendingTransferRow(Gtk.ListBoxRow):
|
||||
transferCodeButton = Gtk.Template.Child()
|
||||
cancelTransfer = Gtk.Template.Child()
|
||||
|
||||
def __init__(self, fileName, transferCode):
|
||||
super(PendingTransferRow, self).__init__()
|
||||
def __init__(self, fileName, transferCode, *args, **kwargs):
|
||||
super(PendingTransferRow, self).__init__(*args, **kwargs)
|
||||
self.fileNameLabel.set_text(fileName)
|
||||
self.transferCodeButton.set_label(transferCode)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user