diff options
author | Simon Howard | 2006-09-21 18:25:55 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-21 18:25:55 +0000 |
commit | a825be92fb2ed32c5933d43a0c326df5e0862e9e (patch) | |
tree | 33e4ac2dbc5447cf334a2836100ba5922d88cece | |
parent | 72c7a4ad783891a232d125aea2d3c4213e5dcebb (diff) | |
download | chocolate-doom-a825be92fb2ed32c5933d43a0c326df5e0862e9e.tar.gz chocolate-doom-a825be92fb2ed32c5933d43a0c326df5e0862e9e.tar.bz2 chocolate-doom-a825be92fb2ed32c5933d43a0c326df5e0862e9e.zip |
Rename Accept to Select.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 648
-rw-r--r-- | textscreen/txt_window.c | 2 | ||||
-rw-r--r-- | textscreen/txt_window_action.c | 8 |
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; } |