summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-10-16 10:38:03 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-10-16 10:38:03 +0000
commit71898e5c547e1f92bb128aede558938873f56d3c (patch)
treea29ddd099bdefdd00db381b064f720801f275d56 /apps/menus/display_menu.c
parent9e0ebcc4e696ce058a35441c85afaf608d1dd25c (diff)
downloadrockbox-71898e5c547e1f92bb128aede558938873f56d3c.tar.gz
rockbox-71898e5c547e1f92bb128aede558938873f56d3c.tar.bz2
rockbox-71898e5c547e1f92bb128aede558938873f56d3c.zip
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
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index b71cbb0e08..016255bad1 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -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;