1
0
Fork 0
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:
Jonathan Gordon 2008-10-16 10:38:03 +00:00
parent 9e0ebcc4e6
commit 71898e5c54
11 changed files with 80 additions and 41 deletions

View file

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