aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVibha Yadav <yvibha@novell.com>2010-05-21 13:42:16 +0800
committerBharath Acharya <abharath@novell.com>2010-05-21 13:42:16 +0800
commit20fe637c8becfb356f682c1bcaf40f3790b1a9bf (patch)
tree3b6f7f724cc6c350dcdd4dcb53e8238f21cff784
parent44c5781fc3a8e684b3e1973114577113a571cdd2 (diff)
downloadgsoc2013-evolution-20fe637c8becfb356f682c1bcaf40f3790b1a9bf.tar.gz
gsoc2013-evolution-20fe637c8becfb356f682c1bcaf40f3790b1a9bf.tar.zst
gsoc2013-evolution-20fe637c8becfb356f682c1bcaf40f3790b1a9bf.zip
Bug #531013 - Proxy login window is not in focus.
Grab focus for the Proxy Login window.
-rw-r--r--plugins/groupwise-features/proxy-login.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/groupwise-features/proxy-login.c b/plugins/groupwise-features/proxy-login.c
index bf23e17d82..f85bc2b946 100644
--- a/plugins/groupwise-features/proxy-login.c
+++ b/plugins/groupwise-features/proxy-login.c
@@ -486,6 +486,7 @@ gw_proxy_login_cb (GtkAction *action, EShellView *shell_view)
GtkTreeSelection *selection;
GtkTreeModel *model = NULL;
GtkTreeIter iter;
+ GtkWidget *tbox_account_name;
gboolean is_store = FALSE;
gchar *uri = NULL;
proxyLoginPrivate *priv;
@@ -528,6 +529,8 @@ gw_proxy_login_cb (GtkAction *action, EShellView *shell_view)
);
proxy_login_setup_tree_view ();
proxy_login_update_tree ();
+ tbox_account_name = e_builder_get_widget (priv->builder, "account_name");
+ gtk_widget_grab_focus (tbox_account_name);
g_signal_connect (GTK_DIALOG (priv->main), "response", G_CALLBACK(proxy_login_cb), e_shell_view_get_shell_window (shell_view));
gtk_widget_show (GTK_WIDGET (priv->main));