Add patch to fix Drag&Drop under Python 3 from Debian

This commit is contained in:
Markus Frosch 2019-02-28 20:53:37 +01:00 committed by Markus Frosch
parent a3a67385fd
commit 294a64df77
1 changed files with 1 additions and 1 deletions

View File

@ -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*"""