summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-11-05 15:06:11 +0000
committerJens Arnold <amiconn@rockbox.org>2006-11-05 15:06:11 +0000
commit9a56fdf5b2255659812855c4c33288c0732e2cee (patch)
tree980c6a142d322fe7849bbb6137ad6d12e474deaa /apps/plugins
parent32c69452d699ce4dbf35e843b2f69507321e1b71 (diff)
JPEG viewer: Removed the playback control menu on archos. It made no sense as the JPEG viewer always needs to use the main buffer on archos, and it could cause strange effects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11437 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/jpeg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index 12574237b3..396617f40b 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -2109,7 +2109,9 @@ int show_menu(void) /* return 1 to quit */
{ "Quit", NULL },
{ "Toggle Slideshow Mode", NULL },
{ "Change Slideshow Time", NULL },
+#if PLUGIN_BUFFER_SIZE >= MIN_MEM
{ "Show Playback Menu", NULL },
+#endif
{ "Return", NULL },
};
static const struct opt_items slideshow[2] = {
@@ -2162,9 +2164,11 @@ int show_menu(void) /* return 1 to quit */
}
break;
case 3:
+#if PLUGIN_BUFFER_SIZE >= MIN_MEM
playback_control(rb);
break;
case 4:
+#endif
break;
}