changeset 20140:5dee4e3f09eb

set focus to dialog->protocol_menun on set_account_protocol_cb, Fixes #3163
author Sean Egan <seanegan@gmail.com>
date Mon, 17 Sep 2007 22:11:39 +0000
parents aea9ac30c0c5
children 0f90adb5618d 743cb3444b6b
files pidgin/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkaccount.c	Mon Sep 17 22:09:22 2007 +0000
+++ b/pidgin/gtkaccount.c	Mon Sep 17 22:11:39 2007 +0000
@@ -270,6 +270,8 @@
 	add_user_options(dialog,     dialog->top_vbox);
 	add_protocol_options(dialog, dialog->bottom_vbox);
 
+	gtk_widget_grab_focus(dialog->protocol_menu);
+
 	if (!dialog->prpl_info || !dialog->prpl_info->register_user || 
 	    g_object_get_data(G_OBJECT(item), "fake")) {
 		gtk_widget_hide(dialog->register_button);