mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Ticket #3565: "External Panelize": use WListbox's notification. notification.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
e7fdb55005
commit
755a2b820e
@ -113,9 +113,14 @@ panelize_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void
|
||||
switch (msg)
|
||||
{
|
||||
case MSG_INIT:
|
||||
case MSG_POST_KEY:
|
||||
case MSG_FOCUS:
|
||||
tty_setcolor (MENU_ENTRY_COLOR);
|
||||
update_command ();
|
||||
return MSG_HANDLED;
|
||||
|
||||
case MSG_ACTION:
|
||||
if (sender == NULL)
|
||||
return MSG_NOT_HANDLED;
|
||||
|
||||
/* The listbox tells us the item has changed. */
|
||||
update_command ();
|
||||
return MSG_HANDLED;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user