summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textscreen/txt_window.c2
-rw-r--r--textscreen/txt_window_action.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/textscreen/txt_window.c b/textscreen/txt_window.c
index 38cc2b2a..ce0692d4 100644
--- a/textscreen/txt_window.c
+++ b/textscreen/txt_window.c
@@ -78,7 +78,7 @@ txt_window_t *TXT_NewWindow(char *title)
// Default actions
TXT_SetWindowAction(win, TXT_HORIZ_LEFT, TXT_NewWindowEscapeAction(win));
- TXT_SetWindowAction(win, TXT_HORIZ_RIGHT, TXT_NewWindowAcceptAction(win));
+ TXT_SetWindowAction(win, TXT_HORIZ_RIGHT, TXT_NewWindowSelectAction(win));
return win;
}
diff --git a/textscreen/txt_window_action.c b/textscreen/txt_window_action.c
index 24a71ccd..45a2482c 100644
--- a/textscreen/txt_window_action.c
+++ b/textscreen/txt_window_action.c
@@ -121,7 +121,7 @@ static void WindowCloseCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(window))
TXT_CloseWindow(window);
}
-static void WindowAcceptCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(window))
+static void WindowSelectCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(window))
{
TXT_CAST_ARG(txt_window_t, window);
@@ -152,12 +152,12 @@ txt_window_action_t *TXT_NewWindowAbortAction(txt_window_t *window)
return action;
}
-txt_window_action_t *TXT_NewWindowAcceptAction(txt_window_t *window)
+txt_window_action_t *TXT_NewWindowSelectAction(txt_window_t *window)
{
txt_window_action_t *action;
- action = TXT_NewWindowAction(KEY_ENTER, "Accept");
- TXT_SignalConnect(action, "pressed", WindowAcceptCallback, window);
+ action = TXT_NewWindowAction(KEY_ENTER, "Select");
+ TXT_SignalConnect(action, "pressed", WindowSelectCallback, window);
return action;
}