about summary refs log tree commit diff stats
path: root/data/types.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-29 00:32:19 +0200
committerhut <hut@lavabit.com>2009-06-29 00:32:19 +0200
commit2f41a544771c0fcaf8abfee963063ba212204d17 (patch)
tree6a4c83a0151b8d4d6ce9fe86914e92b666540a3e /data/types.rb
parent9de547642b7d5121bbcba8efcbea7481755ddb6b (diff)
downloadranger-2f41a544771c0fcaf8abfee963063ba212204d17.tar.gz
handle svg seperately
Diffstat (limited to 'data/types.rb')
-rw-r--r--data/types.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/data/types.rb b/data/types.rb
index 97648ec0..698a3d98 100644
--- a/data/types.rb
+++ b/data/types.rb
@@ -20,6 +20,11 @@ class Directory::Entry
 			use.rake
 		end
 
+		## then at the extension
+		case @ext
+		when 'svg'
+			use.firefox
+		end
 
 		## then look at the mime-type
 		case @mimetype
@@ -49,7 +54,7 @@ class Directory::Entry
 		end
 
 
-		## then at the extension
+		## then at the extension again
 		case @ext
 		when 'swc', 'smc'
 			use.zsnes