--- ./rockbox-20070513/apps/onplay.c 2007-05-17 16:16:00.000000000 -0400 +++ ./rockbox-20070513-original/apps/onplay.c 2007-05-02 21:20:01.000000000 -0400 @@ -64,9 +64,6 @@ #ifdef HAVE_TAGCACHE #include "tagtree.h" #endif -#ifdef HAVE_RECORDING -#include "recorder/recording.h" -#endif #if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1)) #include "backdrop.h" @@ -875,14 +872,6 @@ return true; } -#ifdef HAVE_RECORDING -static bool add_as_rec_dir(void) -{ - rec_path_insert(selected_file); - return true; -} -#endif - static int onplaymenu_callback(int action,const struct menu_item_ex *this_item) { (void)this_item; @@ -968,10 +957,6 @@ properties, NULL, clipboard_callback, Icon_NOICON); MENUITEM_FUNCTION(create_dir_item, 0, ID2P(LANG_CREATE_DIR), create_dir, NULL, clipboard_callback, Icon_NOICON); -#ifdef HAVE_RECORDING -MENUITEM_FUNCTION(add_as_rec_dir_item, 0, "Add as Rec Dir", - add_as_rec_dir, NULL, clipboard_callback, Icon_NOICON); -#endif MENUITEM_FUNCTION(list_viewers_item, 0, ID2P(LANG_ONPLAY_OPEN_WITH), list_viewers, NULL, clipboard_callback, Icon_NOICON); #if LCD_DEPTH > 1 @@ -1025,11 +1010,6 @@ if ((this_item == &delete_dir_item) ) return action; -#ifdef HAVE_RECORDING - if ((this_item == &add_as_rec_dir_item) - ) - return action; -#endif } else if (selected_file #ifdef HAVE_MULTIVOLUME @@ -1075,11 +1055,7 @@ #if LCD_DEPTH > 1 &set_backdrop_item, #endif - &list_viewers_item, &create_dir_item, -#ifdef HAVE_RECORDING - &add_as_rec_dir_item, -#endif - &properties_item + &list_viewers_item, &create_dir_item, &properties_item ); int onplay(char* file, int attr, int from) {