[evolution] Bug #531013 - Proxy login window is not in focus.



commit 22b33668db988f628e411ef67ecc10520c9f20d3
Author: Vibha Yadav <yvibha novell com>
Date:   Fri May 21 11:10:33 2010 +0530

    Bug #531013 - Proxy login window is not in focus.
    
    Grab focus for the Proxy Login window.

 plugins/groupwise-features/proxy-login.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/groupwise-features/proxy-login.c b/plugins/groupwise-features/proxy-login.c
index 23a5339..6fd97d9 100644
--- a/plugins/groupwise-features/proxy-login.c
+++ b/plugins/groupwise-features/proxy-login.c
@@ -484,6 +484,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;
@@ -526,6 +527,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));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]