Commit b8862ace authored by Ell's avatar Ell

app: include variable descriptions in performance logs

Include instrumentation-variable descriptions in the var-defs
section of performance logs, so that they can be displayed
alongside their names when viewing the log.

(cherry picked from commit 646208eff045326dc6ab8d8651fc9d446cca2bdd)
parent 5456226c
......@@ -4346,9 +4346,14 @@ gimp_dashboard_log_start_recording (GimpDashboard *dashboard,
}
gimp_dashboard_log_printf (dashboard,
"<var name=\"%s\" type=\"%s\" />\n",
"<var name=\"%s\" type=\"%s\" desc=\"",
variable_info->name,
type);
gimp_dashboard_log_print_escaped (dashboard,
/* intentionally untranslated */
variable_info->description);
gimp_dashboard_log_printf (dashboard,
"\" />");
}
gimp_dashboard_log_printf (dashboard,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment