Browse Source

Thread args/kwargs on template

unifiedWindowUI
Luke Murphy 4 years ago
parent
commit
b6a38f3821
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 4
      dropship/ui_templates.py

4
dropship/ui_templates.py

@ -19,8 +19,8 @@ class PendingTransferRow(Gtk.ListBoxRow):
transferCodeButton = Gtk.Template.Child() transferCodeButton = Gtk.Template.Child()
cancelTransfer = Gtk.Template.Child() cancelTransfer = Gtk.Template.Child()
def __init__(self, fileName, transferCode): def __init__(self, fileName, transferCode, *args, **kwargs):
super(PendingTransferRow, self).__init__() super(PendingTransferRow, self).__init__(*args, **kwargs)
self.fileNameLabel.set_text(fileName) self.fileNameLabel.set_text(fileName)
self.transferCodeButton.set_label(transferCode) self.transferCodeButton.set_label(transferCode)

Loading…
Cancel
Save