From 294a64df77e0a66e364f30f60604a1fac3ed27de Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Thu, 28 Feb 2019 20:53:37 +0100 Subject: [PATCH] Add patch to fix Drag&Drop under Python 3 from Debian --- terminatorlib/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 86ef2edc..b17358ea 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1016,7 +1016,7 @@ class Terminal(Gtk.VBox): _time, data): """I have no idea what this does, drag and drop is a mystery. sorry.""" selection_data.set(Gdk.atom_intern('vte', False), info, - str(data.terminator.terminals.index(self))) + bytes(str(data.terminator.terminals.index(self)), 'utf-8')) def on_drag_motion(self, widget, drag_context, x, y, _time, _data): """*shrug*"""