Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7bc42a59
Commit
7bc42a59
authored
Jan 02, 2015
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix reveal in finder main menu item
parent
319610b3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
25 deletions
+51
-25
extras/package/macosx/Resources/English.lproj/MainMenu.xib
extras/package/macosx/Resources/English.lproj/MainMenu.xib
+43
-22
modules/gui/macosx/MainMenu.h
modules/gui/macosx/MainMenu.h
+2
-0
modules/gui/macosx/MainMenu.m
modules/gui/macosx/MainMenu.m
+6
-0
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.h
+0
-1
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+0
-2
No files found.
extras/package/macosx/Resources/English.lproj/MainMenu.xib
View file @
7bc42a59
...
...
@@ -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"
>
561
5
</int>
<int
key=
"maxID"
>
561
7
</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>
...
...
modules/gui/macosx/MainMenu.h
View file @
7bc42a59
...
...
@@ -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
;
...
...
modules/gui/macosx/MainMenu.m
View file @
7bc42a59
...
...
@@ -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
)
...
...
modules/gui/macosx/playlist.h
View file @
7bc42a59
...
...
@@ -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
;
...
...
modules/gui/macosx/playlist.m
View file @
7bc42a59
...
...
@@ -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"
)];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment