forked from len0rd/rockbox
		
	Disabled set rating option when the runtime database isn't working.. to avoid confusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7077 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
		
							parent
							
								
									5d9e0536ea
								
							
						
					
					
						commit
						c4b31b0ddf
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -53,6 +53,7 @@ | |||
| #endif | ||||
| #include "main_menu.h" | ||||
| #include "sound_menu.h" | ||||
| #include "database.h" | ||||
| 
 | ||||
| static int context; | ||||
| static char* selected_file = NULL; | ||||
|  | @ -556,9 +557,11 @@ int onplay(char* file, int attr, int from) | |||
|             items[i].desc = ID2P(LANG_MENU_SHOW_ID3_INFO); | ||||
|             items[i].function = browse_id3; | ||||
|             i++; | ||||
|             items[i].desc = ID2P(LANG_MENU_SET_RATING); | ||||
|             items[i].function = set_rating; | ||||
|             i++; | ||||
|             if(rundb_initialized) { | ||||
|                 items[i].desc = ID2P(LANG_MENU_SET_RATING); | ||||
|                 items[i].function = set_rating; | ||||
|                 i++; | ||||
|             } | ||||
|         } | ||||
|          | ||||
| #ifdef HAVE_MULTIVOLUME | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue