From 61131837d3d36f16197ab9172932ba573a2cc4ac Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Mon, 4 Jul 2016 22:09:44 -0400 Subject: [PATCH] Fix pasting issues --- src/usr/bin/diffuse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr/bin/diffuse b/src/usr/bin/diffuse index 316a136..54ba547 100755 --- a/src/usr/bin/diffuse +++ b/src/usr/bin/diffuse @@ -4795,7 +4795,7 @@ class FileDiffViewer(gtk.Table): if self.mode == CHAR_MODE and f == self.current_pane: self.button_press(f, x, y, False) self.openUndoBlock() - gtk.clipboard_get(gtk.gdk.SELECTION_PRIMARY).request_text(self.receive_clipboard_text_cb) + gtk.clipboard_get(gtk.gdk.SELECTION_PRIMARY).request_text(self.receive_clipboard_text_cb, None) self.closeUndoBlock() elif event.button == 3: # right mouse button, raise context sensitive menu @@ -5925,7 +5925,7 @@ class FileDiffViewer(gtk.Table): # 'paste' action def paste(self): - gtk.clipboard_get(gtk.gdk.SELECTION_CLIPBOARD).request_text(self.receive_clipboard_text_cb) + gtk.clipboard_get(gtk.gdk.SELECTION_CLIPBOARD).request_text(self.receive_clipboard_text_cb, None) # 'clear_edits' action def clear_edits(self):