[gedit-plugins] Grab focus on the terminal on right-click
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Subject: [gedit-plugins] Grab focus on the terminal on right-click
- Date: Sun, 19 Jul 2009 11:06:17 +0000 (UTC)
commit a178771b7d755d7aa11f74eea4b82bf130a1f799
Author: root <root murdock localdomain>
Date: Sun Jul 19 13:06:48 2009 +0200
Grab focus on the terminal on right-click
plugins/terminal/terminal.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/terminal/terminal.py b/plugins/terminal/terminal.py
index 118e608..b5e1ab2 100644
--- a/plugins/terminal/terminal.py
+++ b/plugins/terminal/terminal.py
@@ -197,6 +197,7 @@ class GeditTerminal(gtk.HBox):
def on_vte_button_press(self, term, event):
if event.button == 3:
+ self._vte.grab_focus()
self.do_popup(event)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]