diff --git a/dropship.py b/dropship.py index fd3a87c..609a562 100644 --- a/dropship.py +++ b/dropship.py @@ -22,16 +22,6 @@ log = logging.getLogger("dropship") AUTO_CLIP_COPY_SIZE = -1 -class PendingTransfer: - """A wormhole send waiting for a wormhole receive.""" - - def __init__(self, code, fpath, process): - """Object initialisation.""" - self.fpath = fpath - self.code = code - self.process = process - - class DropShip: """Drag it, drop it, ship it.""" @@ -43,8 +33,6 @@ class DropShip: self.clipboard = gtk.Clipboard.get(gdk.SELECTION_CLIPBOARD) - self._pending = [] - self.init_glade() self.init_css() self.init_ui_elements() @@ -151,8 +139,6 @@ class DropShip: self.clipboard.set_text(code, AUTO_CLIP_COPY_SIZE) - self._pending.append(PendingTransfer(code, fpath, process)) - def wormhole_recv(self, widget, code): """Run `wormhole receive` with a pending transfer code.""" command = ["wormhole", "receive", "--accept-file", code]