diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:19 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:19 +0200 |
commit | 266ab52b3a741a58fb17c48b0f7939d7c5d266de (patch) | |
tree | b4bccc59b9a35f3acbe7560f3d633940c71aedef /ColorsListBox.c | |
parent | 2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2 (diff) | |
download | debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.gz debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.bz2 debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.zip |
Imported Upstream version 0.6upstream/0.6
Diffstat (limited to 'ColorsListBox.c')
-rw-r--r-- | ColorsListBox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ColorsListBox.c b/ColorsListBox.c index 37593bb..31cfc63 100644 --- a/ColorsListBox.c +++ b/ColorsListBox.c @@ -47,9 +47,9 @@ ColorsListBox* ColorsListBox_new(Settings* settings, ScreenManager* scr) { this->settings = settings; this->scr = scr; - super->eventHandler = ColorsListBox_eventHandler; + super->eventHandler = ColorsListBox_EventHandler; - ListBox_setHeader(super, RichString_quickString(CRT_colors[PANEL_HEADER_FOCUS], "Colors")); + ListBox_setHeader(super, "Colors"); for (int i = 0; ColorSchemes[i] != NULL; i++) { ListBox_add(super, (Object*) CheckItem_new(String_copy(ColorSchemes[i]), &(this->check[i]))); this->check[i] = false; @@ -65,7 +65,7 @@ void ColorsListBox_delete(Object* object) { free(this); } -HandlerResult ColorsListBox_eventHandler(ListBox* super, int ch) { +HandlerResult ColorsListBox_EventHandler(ListBox* super, int ch) { ColorsListBox* this = (ColorsListBox*) super; HandlerResult result = IGNORED; |