From: Mark Clarkstone Date: Mon, 28 Mar 2016 08:30:10 +0000 (+0100) Subject: Tooltips: memoryinfo tooltips.. X-Git-Tag: v4.2.1~786 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=391659a91074c60a26ca29559ce8dfd91361adf8;p=thirdparty%2Ftvheadend.git Tooltips: memoryinfo tooltips.. --- diff --git a/src/memoryinfo.c b/src/memoryinfo.c index 1ed232975..1e01b7656 100644 --- a/src/memoryinfo.c +++ b/src/memoryinfo.c @@ -40,6 +40,7 @@ const idclass_t memoryinfo_class = { .type = PT_STR, .id = "name", .name = N_("Name"), + .desc = N_("Name of object."), .off = offsetof(memoryinfo_t, my_name), .opts = PO_RDONLY | PO_NOSAVE, }, @@ -47,6 +48,7 @@ const idclass_t memoryinfo_class = { .type = PT_S64_ATOMIC, .id = "size", .name = N_("Size"), + .desc = N_("Current object size."), .off = offsetof(memoryinfo_t, my_size), .opts = PO_RDONLY | PO_NOSAVE, }, @@ -54,6 +56,7 @@ const idclass_t memoryinfo_class = { .type = PT_S64_ATOMIC, .id = "peak_size", .name = N_("Peak size"), + .desc = N_("Largest size the object has reached."), .off = offsetof(memoryinfo_t, my_peak_size), .opts = PO_RDONLY | PO_NOSAVE, }, @@ -61,6 +64,7 @@ const idclass_t memoryinfo_class = { .type = PT_S64_ATOMIC, .id = "count", .name = N_("Count of objects"), + .desc = N_("Current number of objects."), .off = offsetof(memoryinfo_t, my_count), .opts = PO_RDONLY | PO_NOSAVE, }, @@ -68,6 +72,7 @@ const idclass_t memoryinfo_class = { .type = PT_S64_ATOMIC, .id = "peak_count", .name = N_("Peak count of objects"), + .desc = N_("Highest count of objects."), .off = offsetof(memoryinfo_t, my_peak_count), .opts = PO_RDONLY | PO_NOSAVE, },