Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Window grabs focus after pressing the add tab button

  • Loading branch information...
commit d5ab26a8449fd993757d6d2d46af6f7d08ccf11e 1 parent a9fbe0d
@pypingou pypingou authored clarete committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/guake
View
2  src/guake
@@ -1130,7 +1130,6 @@ class Guake(SimpleGladeApp):
"""Adds a new tab to the terminal notebook.
"""
box = GuakeTerminalBox()
- box.terminal.grab_focus()
box.terminal.connect('button-press-event', self.show_context_menu)
box.terminal.connect('child-exited', self.on_terminal_exited, box)
box.terminal.connect('window-title-changed',
@@ -1172,6 +1171,7 @@ class Guake(SimpleGladeApp):
self.notebook.append_page(box, None)
self.notebook.set_current_page(self.notebook.page_num(box))
+ box.terminal.grab_focus()
self.load_config()
def delete_tab(self, pagepos, kill=True):
Please sign in to comment.
Something went wrong with that request. Please try again.