Load history in moo_history_list_new()
parent
c626c51fcb
commit
65daacf856
|
@ -687,7 +687,10 @@ moo_history_list_new (const char *user_id)
|
||||||
list = g_object_new (MOO_TYPE_HISTORY_LIST,
|
list = g_object_new (MOO_TYPE_HISTORY_LIST,
|
||||||
"user-id", user_id, NULL);
|
"user-id", user_id, NULL);
|
||||||
if (user_id)
|
if (user_id)
|
||||||
|
{
|
||||||
add_named_list (user_id, list);
|
add_named_list (user_id, list);
|
||||||
|
_moo_history_list_load (list);
|
||||||
|
}
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue