Connect click events on the titlebar widget to focus for that terminal. Closes LP #385229

This commit is contained in:
Chris Jones 2009-06-09 23:47:59 +01:00
parent 78594bfd62
commit 2aaba264af

View File

@ -75,6 +75,12 @@ class TerminatorTermTitle (gtk.EventBox):
self.wanted = configwanted
self.connect ("button-release-event", self.on_clicked)
def on_clicked (self, widget, event):
if self._parent is not None:
self._parent._vte.grab_focus ()
def set_group_label (self, name):
"""If 'name' is None, hide the group name object, otherwise set it as the group label"""
if name: