summaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-23 17:04:53 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-23 17:04:53 -0300
commitade7993fcb468433d28e569e16e90de4251114ab (patch)
treed9ff4a02e55373346b87acd174863639e20917fa /OpenFilesScreen.c
parentd0c72c3fb29d535f5bb12b651e3bcaa516650199 (diff)
incremental search and filter reintegrated!
Diffstat (limited to 'OpenFilesScreen.c')
-rw-r--r--OpenFilesScreen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c
index 168c6c14..296fdaf7 100644
--- a/OpenFilesScreen.c
+++ b/OpenFilesScreen.c
@@ -198,7 +198,7 @@ void OpenFilesScreen_run(OpenFilesScreen* this) {
Panel_setSelected(panel, mevent.y - panel->y + panel->scrollV);
ch = 0;
} if (mevent.y == LINES - 1)
- ch = FunctionBar_synthesizeEvent(inc->bar, mevent.x);
+ ch = IncSet_synthesizeEvent(inc, mevent.x);
}
if (inc->active) {
@@ -211,11 +211,11 @@ void OpenFilesScreen_run(OpenFilesScreen* this) {
continue;
case KEY_F(3):
case '/':
- IncSet_activate(inc, INC_SEARCH);
+ IncSet_activate(inc, INC_SEARCH, panel);
break;
case KEY_F(4):
case '\\':
- IncSet_activate(inc, INC_FILTER);
+ IncSet_activate(inc, INC_FILTER, panel);
break;
case KEY_F(5):
clear();

© 2014-2024 Faster IT GmbH | imprint | privacy policy