Mercurial > pidgin.yaz
changeset 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 | 7b1e34d10986 |
children | 35ae010cc037 |
files | finch/gntaccount.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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); }