diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2010-01-04 22:29:04 -0200 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2010-01-04 22:29:04 -0200 |
commit | 148870bd0d9197dc4cfc08acf6be0c756d0f06bc (patch) | |
tree | 9beecf5980fa8796234363f92bb8e3a6a969fedb /hardinfo2/arch/linux/common | |
parent | ddf6c3314585b3aacc7c93ab7bc1cab2e73d5fc3 (diff) |
Implement the graphical summary view in the shell, and do a proof of concept implementation for computer.so module.
Diffstat (limited to 'hardinfo2/arch/linux/common')
-rw-r--r-- | hardinfo2/arch/linux/common/alsa.h | 2 | ||||
-rw-r--r-- | hardinfo2/arch/linux/common/os.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/alsa.h b/hardinfo2/arch/linux/common/alsa.h index ddd58edd..1a156c2e 100644 --- a/hardinfo2/arch/linux/common/alsa.h +++ b/hardinfo2/arch/linux/common/alsa.h @@ -20,7 +20,7 @@ gchar * computer_get_alsacards(Computer * computer) { GSList *p; - gchar *tmp = g_strdup(""); + gchar *tmp = g_strdup("[Audio Devices]\n"); gint n = 0; if (computer->alsa) { diff --git a/hardinfo2/arch/linux/common/os.h b/hardinfo2/arch/linux/common/os.h index 23d4a7af..93d10f13 100644 --- a/hardinfo2/arch/linux/common/os.h +++ b/hardinfo2/arch/linux/common/os.h @@ -195,6 +195,8 @@ computer_get_os(void) } } + os->distro = g_strstrip(os->distro); + /* Kernel and hostname info */ uname(&utsbuf); os->kernel_version = g_strdup(utsbuf.version); |