[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:52:08 CEST 2013


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Apr 23 00:50:41 2013 +0200| [27bbe4623600a8722b719750688ee760b1aa475a] | 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)
(cherry picked from commit f8374c73f502e9befee05539db08ca9147bf8724)

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

 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 441b220..48a2109 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