Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ad09e6fb
Commit
ad09e6fb
authored
Jun 24, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: device open: set new media folder as current item when it is added
parent
f8d14c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+5
-1
No files found.
modules/gui/macosx/open.m
View file @
ad09e6fb
...
@@ -941,6 +941,10 @@ static VLCOpen *_o_sharedMainInstance = nil;
...
@@ -941,6 +941,10 @@ static VLCOpen *_o_sharedMainInstance = nil;
else
else
[
o_disc_selector_pop
setHidden
:
NO
];
[
o_disc_selector_pop
setHidden
:
NO
];
// select newly added media folder
if
(
o_notification
&&
[[
o_notification
name
]
isEqualToString
:
@"VLCNewMediaFolderNotification"
])
[
o_disc_selector_pop
selectItemAtIndex
:
[[
o_disc_selector_pop
itemArray
]
count
]
-
1
];
[
self
showSelectedOpticalDisc
];
[
self
showSelectedOpticalDisc
];
}
}
else
else
...
@@ -973,7 +977,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
...
@@ -973,7 +977,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
if
([
o_path
length
]
>
0
)
if
([
o_path
length
]
>
0
)
{
{
[
o_specialMediaFolders
addObject
:
o_path
];
[
o_specialMediaFolders
addObject
:
o_path
];
[
self
scanOpticalMedia
:
nil
];
[
self
scanOpticalMedia
:
[
NSNotification
notificationWithName
:
@"VLCNewMediaFolderNotification"
object
:
nil
]
];
}
}
}
}
}
}
...
...
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