From 6486229308cf7acc7a4ba7dd5f755cdb969372ef Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 24 Aug 2010 23:20:38 +0000 Subject: add support for steal/guest CPU time measurement simplify processor data accounting (add CPUData structure) remove Process_clone trick --- OpenFilesScreen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenFilesScreen.c') diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c index df67f127..7a574707 100644 --- a/OpenFilesScreen.c +++ b/OpenFilesScreen.c @@ -43,17 +43,17 @@ typedef struct OpenFilesScreen_ { }*/ -static const char* tbFunctions[] = {"Refresh", "Done ", NULL}; +static const char* ofsFunctions[] = {"Refresh", "Done ", NULL}; -static const char* tbKeys[] = {"F5", "Esc"}; +static const char* ofsKeys[] = {"F5", "Esc"}; -static int tbEvents[] = {KEY_F(5), 27}; +static int ofsEvents[] = {KEY_F(5), 27}; OpenFilesScreen* OpenFilesScreen_new(Process* process) { OpenFilesScreen* this = (OpenFilesScreen*) malloc(sizeof(OpenFilesScreen)); this->process = process; this->display = Panel_new(0, 1, COLS, LINES-3, LISTITEM_CLASS, true, ListItem_compare); - this->bar = FunctionBar_new(tbFunctions, tbKeys, tbEvents); + this->bar = FunctionBar_new(ofsFunctions, ofsKeys, ofsEvents); this->tracing = true; return this; } -- cgit v1.2.3