[vinagre] Grab the keyboard focus on connect
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vinagre] Grab the keyboard focus on connect
- Date: Mon, 3 Aug 2009 17:38:29 +0000 (UTC)
commit f0ee62202a2a0680a6bb898a24117aaf4c325535
Author: Jonh Wendell <jwendell gnome org>
Date: Mon Aug 3 14:37:52 2009 -0300
Grab the keyboard focus on connect
plugins/ssh/vinagre-ssh-tab.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/ssh/vinagre-ssh-tab.c b/plugins/ssh/vinagre-ssh-tab.c
index d32bc34..3ee82e6 100644
--- a/plugins/ssh/vinagre-ssh-tab.c
+++ b/plugins/ssh/vinagre-ssh-tab.c
@@ -59,7 +59,10 @@ ssh_tab_get_screenshot (VinagreTab *tab)
static gboolean
emit_delayed_signal (GObject *object)
{
+ VinagreSshTab *ssh_tab = VINAGRE_SSH_TAB (object);
+
g_signal_emit_by_name (object, "tab-initialized");
+ gtk_widget_grab_focus (ssh_tab->priv->vte);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]