decouple a little more
This commit is contained in:
parent
4284cf67ee
commit
095ba4dbe3
|
@ -84,7 +84,7 @@ class Terminator(Borg):
|
|||
|
||||
if next is not None:
|
||||
print "sending focus to term %d" % next
|
||||
self.terminals[next].vte.grab_focus()
|
||||
self.terminals[next].grab_focus()
|
||||
|
||||
def create_group(self, name):
|
||||
"""Create a new group"""
|
||||
|
|
|
@ -667,6 +667,9 @@ class Terminal(gtk.VBox):
|
|||
pos = "bottom"
|
||||
return pos
|
||||
|
||||
def grab_focus(self):
|
||||
self.vte.grab_focus()
|
||||
|
||||
def on_vte_focus(self, widget):
|
||||
self.emit('title-change', self.get_window_title())
|
||||
|
||||
|
|
Loading…
Reference in New Issue