about summary refs log tree commit diff stats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/apps.rb5
-rw-r--r--data/types.rb2
2 files changed, 1 insertions, 6 deletions
diff --git a/data/apps.rb b/data/apps.rb
index 6a906e9d..089aba40 100644
--- a/data/apps.rb
+++ b/data/apps.rb
@@ -57,11 +57,6 @@ module Application
 		else nil end
 	end
 
-	def mplayer_detached(files)
-		files.base_flags = 'd'
-		mplayer(files)
-	end
-
 	def evince(files)
 		"evince #{files}"
 	end
diff --git a/data/types.rb b/data/types.rb
index 1755c9d3..6efc189c 100644
--- a/data/types.rb
+++ b/data/types.rb
@@ -31,7 +31,7 @@ class Directory::Entry
 		## then look at the mime-type
 		case @mimetype
 		when /^video/
-			use.mplayer_detached
+			use.mplayer "d"
 
 		when /^audio/
 			use.mplayer