diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-07 18:05:23 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-22 20:05:44 +0800 |
commit | 0b9a9d0171d55523519249a55971c9f4f051dc4c (patch) | |
tree | 2f08eb64f4d6f91afa32d3ecfbdb42644e5bf7e7 | |
parent | 0ac4dcb553efbdd058a5b37ba948c1d542d87075 (diff) | |
download | gsoc2013-empathy-0b9a9d0171d55523519249a55971c9f4f051dc4c.tar gsoc2013-empathy-0b9a9d0171d55523519249a55971c9f4f051dc4c.tar.gz gsoc2013-empathy-0b9a9d0171d55523519249a55971c9f4f051dc4c.tar.bz2 gsoc2013-empathy-0b9a9d0171d55523519249a55971c9f4f051dc4c.tar.lz gsoc2013-empathy-0b9a9d0171d55523519249a55971c9f4f051dc4c.tar.xz gsoc2013-empathy-0b9a9d0171d55523519249a55971c9f4f051dc4c.tar.zst gsoc2013-empathy-0b9a9d0171d55523519249a55971c9f4f051dc4c.zip |
accounts_dialog_model_set_selected: use select_and_scroll_to_iter
That way we also scroll to the selected account (#643860).
-rw-r--r-- | src/empathy-accounts-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |