Fix drag-and-drop broken by LP#1192679, and fixing it in the correct place.
This commit is contained in:
parent
c8b6268835
commit
a495ce2655
|
@ -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:
|
||||||
|
|
|
@ -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"""
|
||||||
|
|
Loading…
Reference in New Issue