Mercurial > pidgin
diff finch/gntaccount.c @ 19392:74f7d5e4a605
Focus the modified/created account in the accounts window after modifying/
creating an account.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 23 Aug 2007 23:07:20 +0000 |
parents | 7a594763c229 |
children | 44b4e8bd759b 315151da0dc6 |
line wrap: on
line diff
--- a/finch/gntaccount.c Thu Aug 23 22:31:40 2007 +0000 +++ b/finch/gntaccount.c Thu Aug 23 23:07:20 2007 +0000 @@ -222,6 +222,11 @@ /* XXX: Proxy options */ + if (accounts.window && accounts.tree) { + gnt_tree_set_selected(GNT_TREE(accounts.tree), account); + gnt_box_give_focus_to_child(GNT_BOX(accounts.window), accounts.tree); + } + gnt_widget_destroy(dialog->window); }