mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[Feature] add a prompt to database commit on start-up
adds a new function: gui_syncyesno_run_w_tmo(ticks, tmo_default_res, main_msg,yes_msg, no_msg) when a database needs committed on start-up a yes no prompt will appear if not answered within 5 seconds it defaults to Yes if instead you choose No next start-up you will be asked again you could rebuild the db still and waste time but it wouldn't hurt anything so I don't think that path needs blocked Change-Id: I58411f6e6bfebb6f142d99f33a1e8885ae7785c1
This commit is contained in:
parent
7ccbd705f4
commit
1c47722226
4 changed files with 143 additions and 15 deletions
|
@ -78,6 +78,7 @@ static int reset_settings(void)
|
|||
settings_apply(true);
|
||||
settings_apply_skins();
|
||||
break;
|
||||
case YESNO_TMO:
|
||||
case YESNO_NO:
|
||||
break;
|
||||
case YESNO_USB:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue