diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-10-04 14:21:27 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-10-04 14:21:27 +0000 |
commit | 3e4f06d1010e5048ffb8e3efdc6bb94b204a2144 (patch) | |
tree | 2156a5639f65a52738e3616a4ed7f184b0c11641 /Settings.c | |
parent | 4a93a7e962ea6faa7a1d163185f629d4469903a8 (diff) |
Contribution by Philipp Richter: Display IO-Wait, IRQ and Soft-IRQ values in status bar
(minor modifications: default to false, add help)
Diffstat (limited to 'Settings.c')
-rw-r--r-- | Settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -139,6 +139,8 @@ bool Settings_read(Settings* this, char* fileName) { this->pl->highlightMegabytes = atoi(option[1]); } else if (String_eq(option[0], "header_margin")) { this->header->margin = atoi(option[1]); + } else if (String_eq(option[0], "expand_system_time")) { + this->pl->expandSystemTime = atoi(option[1]); } else if (String_eq(option[0], "delay")) { this->delay = atoi(option[1]); } else if (String_eq(option[0], "color_scheme")) { @@ -195,6 +197,7 @@ bool Settings_write(Settings* this) { fprintf(fd, "highlight_megabytes=%d\n", (int) this->pl->highlightMegabytes); fprintf(fd, "tree_view=%d\n", (int) this->pl->treeView); fprintf(fd, "header_margin=%d\n", (int) this->header->margin); + fprintf(fd, "expand_system_time=%d\n", (int) this->pl->expandSystemTime); fprintf(fd, "color_scheme=%d\n", (int) this->colorScheme); fprintf(fd, "delay=%d\n", (int) this->delay); fprintf(fd, "left_meters="); |