diff options
author | 05356787 <05356787@localhost.localdomain> | 2008-10-31 13:33:57 -0200 |
---|---|---|
committer | 05356787 <05356787@localhost.localdomain> | 2008-10-31 13:33:57 -0200 |
commit | fc48b63b38acbe347e0dd7b443c54f81f46984ec (patch) | |
tree | eb2170f4683dc88a4156510ac1b1609512f7f91e /hardinfo2 | |
parent | 7608bb025507f0beb235abb5e1ef7ad84148892c (diff) |
Make "Boots" feature better
Diffstat (limited to 'hardinfo2')
-rw-r--r-- | hardinfo2/arch/linux/common/boots.h | 8 | ||||
-rw-r--r-- | hardinfo2/computer.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/hardinfo2/arch/linux/common/boots.h b/hardinfo2/arch/linux/common/boots.h index b5285a9f..388e72a4 100644 --- a/hardinfo2/arch/linux/common/boots.h +++ b/hardinfo2/arch/linux/common/boots.h @@ -47,11 +47,11 @@ scan_boots_real(void) } } - tmp = g_strsplit(buffer, " ", 5); - computer->os->boots = h_strdup_cprintf("\n%s=Kernel %s", + tmp = g_strsplit(buffer, " ", 0); + + computer->os->boots = h_strdup_cprintf("\n%s %s %s %s=%s|%s", computer->os->boots, - tmp[4], - tmp[3]); + tmp[4], tmp[5], tmp[6], tmp[7], tmp[3], tmp[8]); g_strfreev(tmp); } } diff --git a/hardinfo2/computer.c b/hardinfo2/computer.c index 1bee7f3e..809fc0c0 100644 --- a/hardinfo2/computer.c +++ b/hardinfo2/computer.c @@ -293,6 +293,7 @@ gchar *callback_boots() { return g_strdup_printf("[$ShellParam$]\n" "ColumnTitle$TextValue=Date\n" + "ColumnTitle$Extra1=Time\n" "ColumnTitle$Value=Kernel Version\n" "ShowColumnHeaders=true\n" "\n" @@ -315,6 +316,7 @@ gchar *callback_fs() return g_strdup_printf("[$ShellParam$]\n" "ViewType=4\n" "ReloadInterval=5000\n" + "Zebra=1\n" "NormalizePercentage=false\n" "ColumnTitle$Extra1=Total\n" "ColumnTitle$Extra2=Available\n" |