1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +00:00

update machinery: fix top objects

This is a bit messy, but since the top update stuff could use a rewrite
anyway, this should do.
This commit is contained in:
Phil Sutter 2009-09-07 01:49:44 +02:00
parent 15d6beff24
commit f33bcb36ef

View File

@ -1028,6 +1028,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long
* handler. */ * handler. */
if (strncmp(s, "top", 3) == EQUAL) { if (strncmp(s, "top", 3) == EQUAL) {
add_update_callback(&update_meminfo); add_update_callback(&update_meminfo);
add_update_callback(&update_top);
if (!parse_top_args(s, arg, obj)) { if (!parse_top_args(s, arg, obj)) {
return NULL; return NULL;
} }