diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2020-01-26 13:07:11 -0800 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2020-01-26 13:07:11 -0800 | 
| commit | 1cb992627f4ae9e95b4ca079bdb88eb9b08c062d (patch) | |
| tree | 911271ae3cf8eecc85b0d74a9c912836ec44e4fe /modules | |
| parent | acc0715e8aaf923bf0b940c767fdfb494f11c4b9 (diff) | |
Make Computer->Summary contain more information from the summary view
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/computer.c | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/modules/computer.c b/modules/computer.c index 67ce2d21..6cd778e8 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -544,8 +544,8 @@ gchar *callback_summary(void)      info_set_view_type(info, SHELL_VIEW_DETAIL);      info_add_group(info, _("Computer"), -        info_field(_("Processor"), -            module_call_method("devices::getProcessorName")), +        info_field_printf(_("Processor"), +            idle_free(module_call_method("devices::getProcessorNameAndDesc"))),          info_field_update(_("Memory"), 1000),          info_field_printf(_("Machine Type"), "%s",              computer_get_virtualization()), @@ -557,8 +557,10 @@ gchar *callback_summary(void)      info_add_group(info, _("Display"),          info_field_printf(_("Resolution"), _(/* label for resolution */ "%dx%d pixels"),              computer->display->width, computer->display->height), -        info_field(_("OpenGL Renderer"), THISORUNK(computer->display->xi->glx->ogl_renderer) ), -        info_field(_("Session Display Server"), THISORUNK(computer->display->display_server) ), +        info_field(_("Display Adapter"), +            idle_free(module_call_method("devices::getGPUList"))), +        info_field(_("OpenGL Renderer"), THISORUNK(computer->display->xi->glx->ogl_renderer)), +        info_field(_("Session Display Server"), THISORUNK(computer->display->display_server)),          info_field_last());      info_add_computed_group(info, _("Audio Devices"), | 
