I broke drag and drop with LP#1192679. This fixes dnd, plus the original bug.

This commit is contained in:
Stephen Boddy 2013-09-03 19:53:31 +02:00
commit a062555d74
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"""