diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2012-02-24 15:06:18 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2012-02-24 15:06:18 +0100 |
| commit | 3a4f8cd5d730713be95694528da9bdb17ffdc72b (patch) | |
| tree | 75fc44d24bcbbe939c14e1639990060c3a4ab746 /apps/plugins | |
| parent | a60bc256ab78482812d6900d08c59d4948e019a2 (diff) | |
| download | rockbox-3a4f8cd5d730713be95694528da9bdb17ffdc72b.zip rockbox-3a4f8cd5d730713be95694528da9bdb17ffdc72b.tar.gz rockbox-3a4f8cd5d730713be95694528da9bdb17ffdc72b.tar.bz2 rockbox-3a4f8cd5d730713be95694528da9bdb17ffdc72b.tar.xz | |
fireworks: ues PLA_EXIT to exit without going through the menu.
Change-Id: I0902ce839b7eab4c7e1311ef797f19f91ebc582a
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/fireworks.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index c49c4fd..54efaba 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c @@ -34,8 +34,8 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx }; ***/ /* We use PLA */ -#define BTN_MENU PLA_EXIT -#define BTN_MENU2 PLA_CANCEL +#define BTN_EXIT PLA_EXIT +#define BTN_MENU PLA_CANCEL #define BTN_FIRE PLA_SELECT #define BTN_FIRE_REPEAT PLA_SELECT_REPEAT @@ -506,8 +506,11 @@ enum plugin_status plugin_start(const void* parameter) switch(button) { + case BTN_EXIT: /* exit directly */ + quit_plugin = true; + break; + case BTN_MENU: /* back to config menu */ - case BTN_MENU2: fireworks_menu(); break; |