From 0b9a9d0171d55523519249a55971c9f4f051dc4c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 7 Mar 2011 11:05:23 +0100 Subject: accounts_dialog_model_set_selected: use select_and_scroll_to_iter That way we also scroll to the selected account (#643860). --- src/empathy-accounts-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index ffe1df3df..87ddba0bb 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -1532,7 +1532,7 @@ accounts_dialog_model_set_selected (EmpathyAccountsDialog *dialog, selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->treeview)); if (accounts_dialog_get_settings_iter (dialog, settings, &iter)) - gtk_tree_selection_select_iter (selection, &iter); + select_and_scroll_to_iter (dialog, &iter); } static void -- cgit v1.2.3