Mercurial > pidgin.yaz
diff console/gntblist.c @ 14131:db2311999862
[gaim-migrate @ 16773]
Some adjustment to the scrollbars.
Deal with dialogs with NULL title.
Status-selector in the buddylist should always show the active status.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 15 Aug 2006 18:05:14 +0000 |
parents | b71bfeaaed58 |
children | 2c85b0f97dd0 |
line wrap: on
line diff
--- a/console/gntblist.c Tue Aug 15 08:59:11 2006 +0000 +++ b/console/gntblist.c Tue Aug 15 18:05:14 2006 +0000 @@ -67,6 +67,7 @@ static gboolean remove_typing_cb(gpointer null); static void remove_peripherals(GGBlist *ggblist); static const char * get_display_name(GaimBlistNode *node); +static void savedstatus_changed(GaimSavedStatus *now, GaimSavedStatus *old); static void new_node(GaimBlistNode *node) @@ -1150,6 +1151,9 @@ } else if (now->type == STATUS_SAVED_ALL) { + /* Restore the selection to reflect current status. */ + savedstatus_changed(gaim_savedstatus_get_current(), NULL); + gnt_box_give_focus_to_child(GNT_BOX(ggblist->window), ggblist->tree); gg_savedstatus_show_all(); } else