From 1eda8e66877dc3119c61fd48bb701594f6412195 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Tue, 9 Jul 2019 08:41:58 -0700 Subject: Mark `tag' field in InfoField as a scaffolding element Whenever every module is converted to struct Info, manually-specified tags will be useless. --- includes/info.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'includes/info.h') diff --git a/includes/info.h b/includes/info.h index 5ccec9d5..b883adcf 100644 --- a/includes/info.h +++ b/includes/info.h @@ -52,7 +52,7 @@ struct InfoGroup { GArray *fields; - /* scaffolding fields */ + /* scaffolding fields */ const gchar *computed; }; @@ -60,7 +60,6 @@ struct InfoField { const gchar *name; const gchar *value; const gchar *icon; - gchar *tag; /* moreinfo() lookup tag */ int update_interval; gboolean highlight; /* select in GUI, highlight in report (flag:*) */ @@ -68,6 +67,9 @@ struct InfoField { gboolean free_name_on_flatten; gboolean free_value_on_flatten; + + /* scaffolding fields */ + gchar *tag; /* moreinfo() lookup tag */ }; struct Info *info_new(void); -- cgit v1.2.3