summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphelin <phelin>2007-11-25 19:01:45 +0000
committerphelin <phelin>2007-11-25 19:01:45 +0000
commited2e479666c8a082fea648b0df4984b840c0ee98 (patch)
tree430cb50c26edb2f37dabb78a7cff28a4d6ba6564
parent592e9642b2cd1873156f2d76248556f09edac39b (diff)
downloadxineliboutput-ed2e479666c8a082fea648b0df4984b840c0ee98.tar.gz
xineliboutput-ed2e479666c8a082fea648b0df4984b840c0ee98.tar.bz2
Change the function of the back key for the media player.
Now it does not end the replay but returns to the previous directory.
-rw-r--r--media_player.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/media_player.c b/media_player.c
index 87256d98..6c641855 100644
--- a/media_player.c
+++ b/media_player.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: media_player.c,v 1.37 2007-11-25 18:46:04 phelin Exp $
+ * $Id: media_player.c,v 1.38 2007-11-25 19:01:45 phelin Exp $
*
*/
@@ -652,9 +652,8 @@ eOSState cXinelibPlayerControl::ProcessKey(eKeys Key)
switch(Key) {
case kBack: xc.main_menu_mode = m_Mode;
Hide();
- Close();
BackToMenu();
- return osEnd;
+ break;
case kStop:
case kBlue: Hide();
Close();