From a495ce2655cb481d2599461d46fe915edbf14461 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Tue, 3 Sep 2013 14:20:22 +0200 Subject: [PATCH] Fix drag-and-drop broken by LP#1192679, and fixing it in the correct place. --- terminatorlib/terminal.py | 2 +- terminatorlib/titlebar.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 8f5eaf73..e540f85c 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -779,7 +779,7 @@ class Terminal(gtk.VBox): if event.type == gtk.gdk._2BUTTON_PRESS or \ event.type == gtk.gdk._3BUTTON_PRESS: # Ignore these, or they make the interaction bad - return False + return True # Super key applies interaction to all terms in group include_siblings=event.state & gtk.gdk.MOD4_MASK == gtk.gdk.MOD4_MASK if include_siblings: diff --git a/terminatorlib/titlebar.py b/terminatorlib/titlebar.py index 96b53705..89ed7a54 100755 --- a/terminatorlib/titlebar.py +++ b/terminatorlib/titlebar.py @@ -225,7 +225,6 @@ class Titlebar(gtk.EventBox): self.show() self.label.show() self.emit('clicked') - return True def on_edit_done(self, widget): """Re-emit an edit-done signal from an EditableLabel"""