Package: terminator / 1.91-4

python3_drag_n_drop.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix drag&drop for Python 3
 Additional patch for Python 3 changes.
Author: Markus Frosch <lazyfrosch@debian.org>
Forwarded: TODO
Last-Update: 2019-02-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/terminatorlib/terminal.py
+++ b/terminatorlib/terminal.py
@@ -1008,7 +1008,7 @@
             _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*"""