diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-08-01 13:03:21 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-08-01 13:03:21 +0000 |
commit | 86724a205dc55475536eb3f7c421fac64280a50f (patch) | |
tree | 37adf86d7a9325300e42423271a8ac2c42014fde | |
parent | 94b4a8bb9a488360abd2f851eb777f50706b040d (diff) |
Remove dead rolo related code (boot_changed was never set to true).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30233 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/tree.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/apps/tree.c b/apps/tree.c index f38edb2ae6..e802632c00 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -88,8 +88,6 @@ static struct gui_buttonbar tree_buttonbar; #endif static struct tree_context tc; -bool boot_changed = false; - char lastfile[MAX_PATH]; static char lastdir[MAX_PATH]; #ifdef HAVE_TAGCACHE @@ -655,16 +653,7 @@ static int dirbrowse(void) bool restore = false; if (tc.dirlevel < 0) tc.dirlevel = 0; /* shouldnt be needed.. this code needs work! */ -#ifdef BOOTFILE - if (boot_changed) { - static const char *lines[]={ID2P(LANG_BOOT_CHANGED), ID2P(LANG_REBOOT_NOW)}; - static const struct text_message message={lines, 2}; - if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES) - rolo_load("/" BOOTFILE); - restore = true; - boot_changed = false; - } -#endif + button = get_action(CONTEXT_TREE, list_do_action_timeout(&tree_lists, HZ/2)); oldbutton = button; |