]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Tooltips: memoryinfo tooltips..
authorMark Clarkstone <hello@markclarkstone.co.uk>
Mon, 28 Mar 2016 08:30:10 +0000 (09:30 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 28 Mar 2016 10:54:56 +0000 (12:54 +0200)
src/memoryinfo.c

index 1ed232975d3abeba7b1fb4474c4e5eb9650eeb8a..1e01b76569b596c81c2866508e5f4c4e2271d0f0 100644 (file)
@@ -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,
     },