Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
90172d02
Commit
90172d02
authored
Mar 01, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: cosmetics
(cherry picked from commit 1e952e5ee6cfd2e0479a6589802234c46e65d2f0)
parent
cfd8b9da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/gui/macosx/coredialogs.m
modules/gui/macosx/coredialogs.m
+5
-2
No files found.
modules/gui/macosx/coredialogs.m
View file @
90172d02
...
...
@@ -79,7 +79,7 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
else
if
(
[
o_type
isEqualToString
:
@"dialog-login"
]
)
[
self
performSelectorOnMainThread
:
@selector
(
showLoginDialog
:)
withObject
:
o_value
waitUntilDone
:
YES
];
else
if
(
[
o_type
isEqualToString
:
@"dialog-progress-bar"
]
)
[
self
performSelector
:
@selector
(
showProgressDialogOnMainThread
:)
withObject
:
o_value
afterDelay
:
3
.
00
];
[
self
performSelector
OnMainThread
:
@selector
(
showProgressDialogOnMainThread
:)
withObject
:
o_value
waitUntilDone
:
YES
];
else
msg_Err
(
VLCIntf
,
"unhandled dialog type: '%s'"
,
type
);
}
...
...
@@ -166,13 +166,16 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
/* we work-around a Cocoa limitation here, since you cannot delay an execution
* on the main thread within a single call */
if
(
VLCIntf
)
[
self
performSelector
OnMainThread
:
@selector
(
showProgressDialog
:)
withObject
:
o_value
waitUntilDone
:
YES
];
[
self
performSelector
:
@selector
(
showProgressDialog
:)
withObject
:
o_value
afterDelay
:
3
.
00
];
}
-
(
void
)
showProgressDialog
:
(
NSValue
*
)
o_value
{
dialog_progress_bar_t
*
p_dialog
=
[
o_value
pointerValue
];
if
(
!
p_dialog
)
return
;
if
(
p_dialog
->
title
!=
NULL
)
{
[
o_prog_win
setTitle
:
[
NSString
stringWithUTF8String
:
p_dialog
->
title
]];
...
...
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