summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-06-27 01:05:40 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-06-27 01:05:40 +0000
commit32e27d93e883384cffb846998119ecdfd9b8fed7 (patch)
treeb5c26ee52a057c0edeeba25fa10056ab30c566b0 /apps/tree.c
parent0690ac1966772975879540a4c614b497858ecfb7 (diff)
downloadrockbox-32e27d93e883384cffb846998119ecdfd9b8fed7.zip
rockbox-32e27d93e883384cffb846998119ecdfd9b8fed7.tar.gz
rockbox-32e27d93e883384cffb846998119ecdfd9b8fed7.tar.bz2
rockbox-32e27d93e883384cffb846998119ecdfd9b8fed7.tar.xz
The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4805 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/tree.c b/apps/tree.c
index c68927b..8209749 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -16,7 +16,6 @@
* KIND, either express or implied.
*
****************************************************************************/
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -1020,7 +1019,6 @@ static bool dirbrowse(char *root, int *dirfilter)
case BUTTON_OFF:
bookmark_autobookmark();
mpeg_stop();
- status_set_playmode(STATUS_STOP);
status_draw(false);
restore = true;
break;
@@ -1375,7 +1373,6 @@ static bool dirbrowse(char *root, int *dirfilter)
break;
case SYS_USB_CONNECTED:
- status_set_playmode(STATUS_STOP);
usb_screen();
reload_root = true;
break;
@@ -1732,6 +1729,5 @@ void bookmark_play(char *resume_file, int index, int offset, int seed)
}
}
- status_set_playmode(STATUS_PLAY);
start_wps=true;
}