summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-02 23:52:29 +0200
committerhut <hut@lavabit.com>2010-04-02 23:52:29 +0200
commita7772cc660b6510d3613674ce2f99493fd08e550 (patch)
treec6f0ef8bdce4d3b5494ee93a18ce9e454e402cb6
parent8fa8705476d5023083bc27a3fddaee8402ac94e5 (diff)
downloadranger-a7772cc660b6510d3613674ce2f99493fd08e550.tar.gz
defaults.apps: swap mode 0 and 1 for media players
-rw-r--r--ranger/defaults/apps.py8
1 files 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)
49'>149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204