Fix drag-and-drop broken by LP#1192679, and fixing it in the correct place.

This commit is contained in:
Stephen Boddy 2013-09-03 14:20:22 +02:00
parent c8b6268835
commit a495ce2655
2 changed files with 1 additions and 2 deletions

View File

@ -779,7 +779,7 @@ class Terminal(gtk.VBox):
if event.type == gtk.gdk._2BUTTON_PRESS or \ if event.type == gtk.gdk._2BUTTON_PRESS or \
event.type == gtk.gdk._3BUTTON_PRESS: event.type == gtk.gdk._3BUTTON_PRESS:
# Ignore these, or they make the interaction bad # Ignore these, or they make the interaction bad
return False return True
# Super key applies interaction to all terms in group # Super key applies interaction to all terms in group
include_siblings=event.state & gtk.gdk.MOD4_MASK == gtk.gdk.MOD4_MASK include_siblings=event.state & gtk.gdk.MOD4_MASK == gtk.gdk.MOD4_MASK
if include_siblings: if include_siblings:

View File

@ -225,7 +225,6 @@ class Titlebar(gtk.EventBox):
self.show() self.show()
self.label.show() self.label.show()
self.emit('clicked') self.emit('clicked')
return True
def on_edit_done(self, widget): def on_edit_done(self, widget):
"""Re-emit an edit-done signal from an EditableLabel""" """Re-emit an edit-done signal from an EditableLabel"""