mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 12:27:52 +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:
parent
15d6beff24
commit
f33bcb36ef
@ -1028,6 +1028,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long
|
||||
* handler. */
|
||||
if (strncmp(s, "top", 3) == EQUAL) {
|
||||
add_update_callback(&update_meminfo);
|
||||
add_update_callback(&update_top);
|
||||
if (!parse_top_args(s, arg, obj)) {
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user