[steve-e] Add new bookmark before trying to select it. Fixes #3199.

This commit is contained in:
Julien Pivotto 2007-06-04 19:27:49 +00:00
parent 3859de42cc
commit 0c04e296c2
1 changed files with 1 additions and 1 deletions

View File

@ -2589,9 +2589,9 @@ class ManageBookmarksWindow:
nick = gajim.nicks[account] nick = gajim.nicks[account]
iter_ = self.treestore.append(add_to, [account, _('New Group Chat'), '', iter_ = self.treestore.append(add_to, [account, _('New Group Chat'), '',
False, '', nick, 'in_and_out']) False, '', nick, 'in_and_out'])
self.view.set_cursor(model.get_path(iter_))
self.view.expand_row(model.get_path(add_to), True) self.view.expand_row(model.get_path(add_to), True)
self.view.set_cursor(model.get_path(iter_))
def on_remove_bookmark_button_clicked(self, widget): def on_remove_bookmark_button_clicked(self, widget):
''' '''