diff --git a/activities/terminal/TerminalActivity.py b/activities/terminal/TerminalActivity.py index 818f132f..5826b16c 100644 --- a/activities/terminal/TerminalActivity.py +++ b/activities/terminal/TerminalActivity.py @@ -66,6 +66,9 @@ class Terminal(gtk.HBox): def on_vte_popup_menu(self, term): pass + def grab_focus(self): + self._vte.grab_focus() + class TerminalActivity(Activity): def __init__(self): Activity.__init__(self) @@ -75,3 +78,5 @@ class TerminalActivity(Activity): terminal = Terminal() self.add(terminal) terminal.show() + + terminal.grab_focus()