Fix crash when capslock pressed while editing a tab title
Ensure the 'focus out' event is caught by gtkentry. Fixes: lp #1313761
This commit is contained in:
parent
30af9a3ed0
commit
0cf2b98a0f
|
@ -108,7 +108,9 @@ class EditableLabel(gtk.EventBox):
|
||||||
self._entry = None
|
self._entry = None
|
||||||
self.show_all ()
|
self.show_all ()
|
||||||
self.emit('edit-done')
|
self.emit('edit-done')
|
||||||
return(True)
|
# Returning False will ensure that focus out event will be sent to
|
||||||
|
# GtkEntry so it will disconnect 'state-changed' handler
|
||||||
|
return(False)
|
||||||
return(False)
|
return(False)
|
||||||
|
|
||||||
def _on_entry_activated (self, widget):
|
def _on_entry_activated (self, widget):
|
||||||
|
|
Loading…
Reference in New Issue