From baf46a1e06dbffd67facd46b0760b3a34a3dd1d2 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(-) (limited to 'src') diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 964b9dd58..2d8968c4b 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -1641,7 +1641,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 accounts_dialog_add (EmpathyAccountsDialog *dialog, -- cgit v1.2.3