diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-01 14:41:49 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-01 14:41:49 +0000 |
commit | b58d3656d79e5f9752a22d55c139294412084e4f (patch) | |
tree | bd98c9d2ab0db1e0df432814bb398cdb49739fe1 /apps/gui/option_select.c | |
parent | c54f4b34400ea96bd3e2d86ba919a0ae509a56a9 (diff) | |
download | rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.tar.gz rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.zip |
FS#11925 - Add a proper system to keep track of the current screen/activity to make %cs far more useful
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29944 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/option_select.c')
-rw-r--r-- | apps/gui/option_select.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c index f954268c18..7f829d26c3 100644 --- a/apps/gui/option_select.c +++ b/apps/gui/option_select.c | |||
@@ -486,6 +486,7 @@ bool option_screen(const struct settings_list *setting, | |||
486 | temp_var = oldvalue = *(bool*)setting->setting?1:0; | 486 | temp_var = oldvalue = *(bool*)setting->setting?1:0; |
487 | } | 487 | } |
488 | else return false; /* only int/bools can go here */ | 488 | else return false; /* only int/bools can go here */ |
489 | push_current_activity(ACTIVITY_OPTIONSELECT); | ||
489 | gui_synclist_init(&lists, value_setting_get_name_cb, | 490 | gui_synclist_init(&lists, value_setting_get_name_cb, |
490 | (void*)setting, false, 1, parent); | 491 | (void*)setting, false, 1, parent); |
491 | if (setting->lang_id == -1) | 492 | if (setting->lang_id == -1) |
@@ -566,6 +567,7 @@ bool option_screen(const struct settings_list *setting, | |||
566 | if (function == sound_get_fn(SOUND_VOLUME)) | 567 | if (function == sound_get_fn(SOUND_VOLUME)) |
567 | global_status.last_volume_change = current_tick; | 568 | global_status.last_volume_change = current_tick; |
568 | } | 569 | } |
570 | pop_current_activity(); | ||
569 | return false; | 571 | return false; |
570 | } | 572 | } |
571 | 573 | ||