[empathy/gnome-2-34] accounts_dialog_model_set_selected: use select_and_scroll_to_iter
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34] accounts_dialog_model_set_selected: use select_and_scroll_to_iter
- Date: Tue, 22 Mar 2011 12:06:34 +0000 (UTC)
commit baf46a1e06dbffd67facd46b0760b3a34a3dd1d2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 7 11:05:23 2011 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 964b9dd..2d8968c 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]