Ticket #3565: "External Panelize": use WListbox's notification. notification.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Mooffie 2015-11-21 21:26:34 +02:00 committed by Andrew Borodin
parent e7fdb55005
commit 755a2b820e

View File

@ -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;