[vlc-commits] macosx: allow drag and drop of disks on the VLC icon in the Dock and in the Finder (close #8377)

Felix Paul Kühne git at videolan.org
Tue Apr 23 00:50:51 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Apr 23 00:50:41 2013 +0200| [f8374c73f502e9befee05539db08ca9147bf8724] | committer: Felix Paul Kühne

macosx: allow drag and drop of disks on the VLC icon in the Dock and in the Finder (close #8377)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8374c73f502e9befee05539db08ca9147bf8724
---

 extras/package/macosx/Info.plist.in |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/extras/package/macosx/Info.plist.in b/extras/package/macosx/Info.plist.in
index 5351d58..e2f0635 100644
--- a/extras/package/macosx/Info.plist.in
+++ b/extras/package/macosx/Info.plist.in
@@ -17,6 +17,20 @@
 			<string>Viewer</string>
 		</dict>
 		<dict>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>public.volume</string>
+			</array>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>disk</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Volume</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+		</dict>
+		<dict>
 			<key>CFBundleTypeExtensions</key>
 			<array>
 				<string>f4v</string>



More information about the vlc-commits mailing list