forked from len0rd/rockbox
Accept FS#9480 - centralise and organise the events in the apps/ layer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18819 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9e0ebcc4e6
commit
71898e5c54
11 changed files with 80 additions and 41 deletions
|
|
@ -23,7 +23,7 @@
|
|||
#include <stddef.h>
|
||||
#include <limits.h>
|
||||
#include "config.h"
|
||||
#include "events.h"
|
||||
#include "appevents.h"
|
||||
#include "lang.h"
|
||||
#include "action.h"
|
||||
#include "settings.h"
|
||||
|
|
@ -304,7 +304,7 @@ static int statusbar_callback(int action,const struct menu_item_ex *this_item)
|
|||
switch (action)
|
||||
{
|
||||
case ACTION_EXIT_MENUITEM:
|
||||
send_event(STATUSBAR_TOGGLE_EVENT, NULL);
|
||||
send_event(GUI_EVENT_STATUSBAR_TOGGLE, NULL);
|
||||
/* this should be changed so only the viewports are reloaded */
|
||||
settings_apply(false);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue