From a986dd1bbe76256da5fd38c984f7c955e1129e04 Mon Sep 17 00:00:00 2001
From: pingou <pingou@pingoured.fr>
Date: Tue, 31 Aug 2010 09:40:55 +0200
Subject: [PATCH] Window grabs focus after pressing the add tab button
---
src/guake.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/guake.py b/src/guake.py
index 40e688f..bd40858 100644
|
a
|
b
|
|
| 1119 | 1119 | """Adds a new tab to the terminal notebook. |
| 1120 | 1120 | """ |
| 1121 | 1121 | box = GuakeTerminalBox() |
| 1122 | | box.terminal.grab_focus() |
| 1123 | 1122 | box.terminal.connect('button-press-event', self.show_context_menu) |
| 1124 | 1123 | box.terminal.connect('child-exited', self.on_terminal_exited, box) |
| 1125 | 1124 | box.show() |
| … |
… |
|
| 1159 | 1158 | |
| 1160 | 1159 | self.notebook.append_page(box, None) |
| 1161 | 1160 | self.notebook.set_current_page(self.notebook.page_num(box)) |
| | 1161 | box.terminal.grab_focus() |
| 1162 | 1162 | self.load_config() |
| 1163 | 1163 | |
| 1164 | 1164 | def delete_tab(self, pagepos, kill=True): |