From a7772cc660b6510d3613674ce2f99493fd08e550 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 2 Apr 2010 23:52:29 +0200 Subject: defaults.apps: swap mode 0 and 1 for media players --- ranger/defaults/apps.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 084f9638..9543badb 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -115,7 +115,7 @@ class CustomApplications(Applications): @depends_on('mplayer') def app_mplayer(self, c): if c.mode is 1: - return tup('mplayer', *c) + return tup('mplayer', '-fs', *c) elif c.mode is 2: args = "mplayer -fs -sid 0 -vfm ffmpeg -lavdopts " \ @@ -127,7 +127,7 @@ class CustomApplications(Applications): return tup('mplayer', '-mixer', 'software', *c) else: - return tup('mplayer', '-fs', *c) + return tup('mplayer', *c) @depends_on("eog") def app_eye_of_gnome(self, c): @@ -235,6 +235,6 @@ class CustomApplications(Applications): @depends_on('totem') def app_totem(self, c): if c.mode is 0: - return tup("totem", "--fullscreen", *c) - if c.mode is 1: return tup("totem", *c) + if c.mode is 1: + return tup("totem", "--fullscreen", *c) -- cgit 1.4.1-2-gfad0