Reset __gtype_name__ to match template

This commit is contained in:
Luke Murphy 2020-10-11 14:20:41 +02:00
parent 536d1c36f2
commit c10bae300c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -11,7 +11,8 @@ CWD = Path(__file__).absolute().parent
@Gtk.Template.from_file(f"{CWD}/ui/pendingTransferRow.ui") @Gtk.Template.from_file(f"{CWD}/ui/pendingTransferRow.ui")
class PendingTransferRow(Gtk.ListBoxRow): class PendingTransferRow(Gtk.ListBoxRow):
__gtype_name__ = "PendingTransferRow" # Note(decentral1se): must match ui/pendingTransferRow.ui name
__gtype_name__ = "pendingTransferRow"
fileNameLabel = Gtk.Template.Child() fileNameLabel = Gtk.Template.Child()
fileNameMetadata = Gtk.Template.Child() fileNameMetadata = Gtk.Template.Child()