From 9cbdad9df53d9cfe1ac24492538b360d16c0830c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 11 Jan 2007 22:26:56 +0000 Subject: [PATCH] select iter when we add a bookmark. fixes #2889 --- src/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index 6624f9776..1bbff2541 100644 --- a/src/config.py +++ b/src/config.py @@ -2740,8 +2740,9 @@ class ManageBookmarksWindow: account = model[add_to][1].decode('utf-8') nick = gajim.nicks[account] - self.treestore.append(add_to, [account, _('New Group Chat'), '', False, - '', nick, 'in_and_out']) + iter_ = self.treestore.append(add_to, [account, _('New Group Chat'), '', + False, '', nick, 'in_and_out']) + self.view.set_cursor(model.get_path(iter_)) self.view.expand_row(model.get_path(add_to), True)