mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-02 00:16:04 +03:00
Expand comment about hypothetical MSG_ACTIVATE.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
2ed989827f
commit
ebf57a81fb
@ -441,7 +441,12 @@ find_parm_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, voi
|
||||
/* FIXME: HACK: use first draw of dialog to resolve widget state dependencies.
|
||||
* Use this time moment to check input field content. We can't do that in MSG_INIT
|
||||
* because history is not loaded yet.
|
||||
* Probably, we want new MSG_ACTIVATE message as complement to MSG_VALIDATE one.
|
||||
* Probably, we want new MSG_ACTIVATE message as complement to MSG_VALIDATE one. Or
|
||||
* we could name it MSG_POST_INIT.
|
||||
*
|
||||
* In one or two other places we use MSG_IDLE instead of MSG_DRAW for a similar
|
||||
* purpose. We should remember to fix those places too when we introduce the new
|
||||
* message.
|
||||
*/
|
||||
static gboolean first_draw = TRUE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user