Always return focus to the VTE widget after playing with group names

This commit is contained in:
Chris Jones 2009-11-19 23:42:49 -06:00
parent 0ff5aa3159
commit efbeffb060
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ class Titlebar(gtk.EventBox):
"""Hide the group name entry""" """Hide the group name entry"""
self.groupentry.set_text('') self.groupentry.set_text('')
self.groupentry.hide() self.groupentry.hide()
self.get_parent().grab_focus()
def groupentry_activate(self, widget): def groupentry_activate(self, widget):
"""Actually cause a group to be created""" """Actually cause a group to be created"""