comparison 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
comparison
equal deleted inserted replaced
19391:7b1e34d10986 19392:74f7d5e4a605
220 } 220 }
221 } 221 }
222 222
223 /* XXX: Proxy options */ 223 /* XXX: Proxy options */
224 224
225 if (accounts.window && accounts.tree) {
226 gnt_tree_set_selected(GNT_TREE(accounts.tree), account);
227 gnt_box_give_focus_to_child(GNT_BOX(accounts.window), accounts.tree);
228 }
229
225 gnt_widget_destroy(dialog->window); 230 gnt_widget_destroy(dialog->window);
226 } 231 }
227 232
228 static void 233 static void
229 update_user_splits(AccountEditDialog *dialog) 234 update_user_splits(AccountEditDialog *dialog)