Load history in moo_history_list_new()

master
Yevgen Muntyan 2008-01-09 21:16:04 -06:00
parent c626c51fcb
commit 65daacf856
1 changed files with 3 additions and 0 deletions

View File

@ -687,7 +687,10 @@ moo_history_list_new (const char *user_id)
list = g_object_new (MOO_TYPE_HISTORY_LIST,
"user-id", user_id, NULL);
if (user_id)
{
add_named_list (user_id, list);
_moo_history_list_load (list);
}
return list;
}