diff --git a/extras/package/macosx/Resources/English.lproj/MainMenu.xib b/extras/package/macosx/Resources/English.lproj/MainMenu.xib index 27ce9cd22ac73b7ce44c7c0d6881208191a8a9c4..1c880c9434c75a526784e10bb823919855e9f5aa 100644 --- a/extras/package/macosx/Resources/English.lproj/MainMenu.xib +++ b/extras/package/macosx/Resources/English.lproj/MainMenu.xib @@ -12,11 +12,11 @@ </object> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> + <integer value="4596"/> <integer value="2730"/> - <integer value="5547"/> <integer value="2461"/> - <integer value="4596"/> - <integer value="57"/> + <integer value="5547"/> + <integer value="81"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -4510,6 +4510,22 @@ </object> <int key="connectionID">5615</int> </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">o_mi_revealInFinder</string> + <reference key="source" ref="651263286"/> + <reference key="destination" ref="252497091"/> + </object> + <int key="connectionID">5616</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">revealItemInFinder:</string> + <reference key="source" ref="651263286"/> + <reference key="destination" ref="252497091"/> + </object> + <int key="connectionID">5617</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -7181,7 +7197,7 @@ <boolean value="YES"/> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <boolean value="YES"/> - <string>{{431, 473}, {297, 263}}</string> + <string>{{302, 473}, {297, 263}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <boolean value="YES"/> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> @@ -7212,7 +7228,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">5615</int> + <int key="maxID">5617</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -7805,6 +7821,7 @@ <string>openWebsite:</string> <string>quitAfterPlayback:</string> <string>resizeVideoWindow:</string> + <string>revealItemInFinder:</string> <string>savePlaylist:</string> <string>setPlaybackRate:</string> <string>showAudioEffects:</string> @@ -7890,6 +7907,7 @@ <string>id</string> <string>id</string> <string>id</string> + <string>id</string> </object> </object> <object class="NSMutableDictionary" key="actionInfosByName"> @@ -7912,6 +7930,7 @@ <string>openWebsite:</string> <string>quitAfterPlayback:</string> <string>resizeVideoWindow:</string> + <string>revealItemInFinder:</string> <string>savePlaylist:</string> <string>setPlaybackRate:</string> <string>showAudioEffects:</string> @@ -8012,6 +8031,10 @@ <string key="name">resizeVideoWindow:</string> <string key="candidateClassName">id</string> </object> + <object class="IBActionInfo"> + <string key="name">revealItemInFinder:</string> + <string key="candidateClassName">id</string> + </object> <object class="IBActionInfo"> <string key="name">savePlaylist:</string> <string key="candidateClassName">id</string> @@ -8237,6 +8260,7 @@ <string>o_mi_readme</string> <string>o_mi_record</string> <string>o_mi_repeat</string> + <string>o_mi_revealInFinder</string> <string>o_mi_save_playlist</string> <string>o_mi_screen</string> <string>o_mi_select_all</string> @@ -8416,6 +8440,7 @@ <string>NSMenuItem</string> <string>NSMenuItem</string> <string>NSMenuItem</string> + <string>NSMenuItem</string> <string>id</string> <string>id</string> <string>id</string> @@ -8580,6 +8605,7 @@ <string>o_mi_readme</string> <string>o_mi_record</string> <string>o_mi_repeat</string> + <string>o_mi_revealInFinder</string> <string>o_mi_save_playlist</string> <string>o_mi_screen</string> <string>o_mi_select_all</string> @@ -9011,6 +9037,10 @@ <string key="name">o_mi_repeat</string> <string key="candidateClassName">NSMenuItem</string> </object> + <object class="IBToOneOutletInfo"> + <string key="name">o_mi_revealInFinder</string> + <string key="candidateClassName">NSMenuItem</string> + </object> <object class="IBToOneOutletInfo"> <string key="name">o_mi_save_playlist</string> <string key="candidateClassName">NSMenuItem</string> @@ -9687,7 +9717,7 @@ </object> <object class="IBPartialClassDescription"> <string key="className">VLCPlaylist</string> - <string key="superclassName">VLCPlaylistCommon</string> + <string key="superclassName">NSObject</string> <object class="NSMutableDictionary" key="actions"> <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSArray" key="dict.sortedKeys"> @@ -9809,6 +9839,7 @@ <string>o_mi_sort_author</string> <string>o_mi_sort_name</string> <string>o_mm_mi_revealInFinder</string> + <string>o_outline_view</string> <string>o_playlist_header</string> <string>o_playlist_view</string> <string>o_playlist_wizard</string> @@ -9834,6 +9865,7 @@ <string>id</string> <string>id</string> <string>id</string> + <string>VLCPlaylistView</string> <string>id</string> <string>id</string> <string>id</string> @@ -9862,6 +9894,7 @@ <string>o_mi_sort_author</string> <string>o_mi_sort_name</string> <string>o_mm_mi_revealInFinder</string> + <string>o_outline_view</string> <string>o_playlist_header</string> <string>o_playlist_view</string> <string>o_playlist_wizard</string> @@ -9932,6 +9965,10 @@ <string key="name">o_mm_mi_revealInFinder</string> <string key="candidateClassName">id</string> </object> + <object class="IBToOneOutletInfo"> + <string key="name">o_outline_view</string> + <string key="candidateClassName">VLCPlaylistView</string> + </object> <object class="IBToOneOutletInfo"> <string key="name">o_playlist_header</string> <string key="candidateClassName">id</string> @@ -9967,22 +10004,6 @@ <string key="minorKey">../../../modules/gui/macosx/playlist.h</string> </object> </object> - <object class="IBPartialClassDescription"> - <string key="className">VLCPlaylistCommon</string> - <string key="superclassName">NSObject</string> - <object class="NSMutableDictionary" key="outlets"> - <string key="NS.key.0">o_outline_view</string> - <string key="NS.object.0">VLCPlaylistView</string> - </object> - <object class="NSMutableDictionary" key="toOneOutletInfosByName"> - <string key="NS.key.0">o_outline_view</string> - <object class="IBToOneOutletInfo" key="NS.object.0"> - <string key="name">o_outline_view</string> - <string key="candidateClassName">VLCPlaylistView</string> - </object> - </object> - <reference key="sourceIdentifier" ref="669160037"/> - </object> <object class="IBPartialClassDescription"> <string key="className">VLCPlaylistView</string> <string key="superclassName">NSOutlineView</string> diff --git a/modules/gui/macosx/MainMenu.h b/modules/gui/macosx/MainMenu.h index f53f3f56a5f7b995129ac7b2e804c0d870114d8d..91c53708fa8a28fa177d8c25181af65bd4f669a0 100644 --- a/modules/gui/macosx/MainMenu.h +++ b/modules/gui/macosx/MainMenu.h @@ -74,6 +74,7 @@ IBOutlet NSMenuItem * o_mi_open_wizard; IBOutlet NSMenuItem * o_mi_convertandsave; IBOutlet NSMenuItem * o_mi_save_playlist; + IBOutlet NSMenuItem * o_mi_revealInFinder; IBOutlet NSMenu * o_mu_edit; IBOutlet NSMenuItem * o_mi_cut; @@ -246,6 +247,7 @@ - (IBAction)intfOpenNet:(id)sender; - (IBAction)intfOpenCapture:(id)sender; - (IBAction)savePlaylist:(id)sender; +- (IBAction)revealItemInFinder:(id)sender; - (IBAction)toggleEffectsButton:(id)sender; - (IBAction)toggleJumpButtons:(id)sender; diff --git a/modules/gui/macosx/MainMenu.m b/modules/gui/macosx/MainMenu.m index ffe784eb9e2d798a272046c321f5e3cf32554475..3c678e387d7456f9aacbcbd567546129ece68538 100644 --- a/modules/gui/macosx/MainMenu.m +++ b/modules/gui/macosx/MainMenu.m @@ -378,6 +378,7 @@ static VLCMainMenu *_o_sharedInstance = nil; [o_mi_open_wizard setTitle: _NS("Streaming/Exporting Wizard...")]; [o_mi_convertandsave setTitle: _NS("Convert / Stream...")]; [o_mi_save_playlist setTitle: _NS("Save Playlist...")]; + [o_mi_revealInFinder setTitle: _NS("Reveal in Finder")]; [o_mu_edit setTitle: _NS("Edit")]; [o_mi_cut setTitle: _NS("Cut")]; @@ -1109,6 +1110,11 @@ static VLCMainMenu *_o_sharedInstance = nil; [[[VLCMain sharedInstance] playlist] savePlaylist:sender]; } +- (IBAction)revealItemInFinder:(id)sender +{ + [[[VLCMain sharedInstance] playlist] revealItemInFinder:sender]; +} + - (IBAction)showConvertAndSave:(id)sender { if (o_convertandsave == nil) diff --git a/modules/gui/macosx/playlist.h b/modules/gui/macosx/playlist.h index f0d002f7b8d1d0845d37cf1ddab5b2aa27f8f139..29d1a26a726e180bb0501c9005cf966c1fdb1742 100644 --- a/modules/gui/macosx/playlist.h +++ b/modules/gui/macosx/playlist.h @@ -63,7 +63,6 @@ IBOutlet id o_mi_info; IBOutlet id o_mi_preparse; IBOutlet id o_mi_revealInFinder; - IBOutlet id o_mm_mi_revealInFinder; IBOutlet id o_mi_dl_cover_art; IBOutlet id o_mi_selectall; IBOutlet id o_mi_sort_name; diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index d6991b3f35f842198d47609140820d493e08973e..46faf94cc3bafa445ddc573663fed8f48650a3c2 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -292,8 +292,6 @@ [o_mi_dl_cover_art setTitle: _NS("Download Cover Art")]; [o_mi_preparse setTitle: _NS("Fetch Meta Data")]; [o_mi_revealInFinder setTitle: _NS("Reveal in Finder")]; - [o_mm_mi_revealInFinder setTitle: _NS("Reveal in Finder")]; - [[o_mm_mi_revealInFinder menu] setAutoenablesItems: NO]; [o_mi_sort_name setTitle: _NS("Sort Node by Name")]; [o_mi_sort_author setTitle: _NS("Sort Node by Author")];