mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 14:12:26 -05:00
remove the need for action_signalscreenchange().
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9d756e2760
commit
f7675a244b
27 changed files with 12 additions and 98 deletions
|
|
@ -95,7 +95,6 @@ int menu_show(int m)
|
|||
int key;
|
||||
|
||||
rb->gui_synclist_draw(&(menus[m].synclist));
|
||||
rb->action_signalscreenchange();
|
||||
rb->gui_syncstatusbar_draw(rb->statusbars, true);
|
||||
while (!exit) {
|
||||
key = rb->get_action(CONTEXT_MAINMENU,HZ/2);
|
||||
|
|
@ -111,7 +110,6 @@ int menu_show(int m)
|
|||
rb->gui_synclist_do_button(&(menus[m].synclist), key,LIST_WRAP_UNLESS_HELD);
|
||||
switch( key ) {
|
||||
case ACTION_STD_OK:
|
||||
rb->action_signalscreenchange();
|
||||
return rb->gui_synclist_get_sel_pos(&(menus[m].synclist));
|
||||
|
||||
|
||||
|
|
@ -127,7 +125,6 @@ int menu_show(int m)
|
|||
}
|
||||
rb->gui_syncstatusbar_draw(rb->statusbars, false);
|
||||
}
|
||||
rb->action_signalscreenchange();
|
||||
return MENU_SELECTED_EXIT;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -295,7 +295,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
|
|||
}
|
||||
}
|
||||
rb->global_settings->statusbar = prev_show_statusbar;
|
||||
rb->action_signalscreenchange();
|
||||
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue