summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-26 23:14:48 +0200
committerhut <hut@lavabit.com>2010-04-26 23:14:48 +0200
commitf54d0ec7c8e9f3733e09ff392f1462622e5698ef (patch)
treed972a9da50f5932b9f012a3002628a175dfc0e70
parent748d0a6a4369b8a99ad43e284524cbe64a9ecbf3 (diff)
downloadranger-f54d0ec7c8e9f3733e09ff392f1462622e5698ef.tar.gz
defaults.apps: don't run *.swf in elinks ;(
-rw-r--r--ranger/defaults/apps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 4fc4dc3c..6c09298a 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -64,9 +64,9 @@ class CustomApplications(Applications):
 			if f.extension in ('xml', ):
 				return self.app_editor(c)
 			if f.extension in ('html', 'htm', 'xhtml'):
-				return self.either(c, 'firefox', 'opera')
-			if f.extension in ('swf', ):
 				return self.either(c, 'firefox', 'opera', 'elinks')
+			if f.extension in ('swf', ):
+				return self.either(c, 'firefox', 'opera')
 			if f.extension == 'nes':
 				return self.app_fceux(c)
 			if f.extension in ('swc', 'smc'):