From 463e75645659a19cd758429307ab6db2063cc45b Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 20 Dec 2007 13:39:38 +0000 Subject: Fix focus and text selection in accounts dialog. Fixes bug #502932. svn path=/trunk/; revision=492 --- libempathy-gtk/empathy-account-widget-jabber.c | 3 --- libempathy-gtk/empathy-accounts-dialog.c | 2 -- 2 files changed, 5 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-account-widget-jabber.c b/libempathy-gtk/empathy-account-widget-jabber.c index 5e7793cfc..81e7d3513 100644 --- a/libempathy-gtk/empathy-account-widget-jabber.c +++ b/libempathy-gtk/empathy-account-widget-jabber.c @@ -286,9 +286,6 @@ empathy_account_widget_jabber_new (McAccount *account) g_object_unref (size_group); - gtk_editable_select_region (GTK_EDITABLE (settings->entry_id), 0, -1); - gtk_widget_grab_focus (settings->entry_id); - gtk_widget_show (settings->vbox_settings); return settings->vbox_settings; diff --git a/libempathy-gtk/empathy-accounts-dialog.c b/libempathy-gtk/empathy-accounts-dialog.c index 4c0719c21..d361103fb 100644 --- a/libempathy-gtk/empathy-accounts-dialog.c +++ b/libempathy-gtk/empathy-accounts-dialog.c @@ -306,8 +306,6 @@ accounts_dialog_update_account (EmpathyAccountsDialog *dialog, dialog->settings_widget = empathy_account_widget_generic_new (account); } - - gtk_widget_grab_focus (dialog->settings_widget); } if (dialog->settings_widget) { -- cgit v1.2.3