From e912c6a2398a353e74e57c0d9df60beddbe951dd Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 23 Mar 2009 21:09:40 +0000 Subject: [PATCH] grab focus into the text entry widget after creating it --- terminatorlib/terminator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 87ddc2ff..bc040103 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -147,6 +147,7 @@ class TerminatorNotebookTabLabel(gtk.HBox): self._notebook.connect ("switch-page", self.entry_to_label) self._entry.connect ("activate", self.on_entry_activated) self._entry.connect ("key-press-event", self.on_entry_keypress) + self._entry.grab_focus () def entry_to_label (self, widget, page, page_num): if (self._entry):