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
e1b1237c
Commit
e1b1237c
authored
Apr 02, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: make sure that the 'updating font cache' dialog doesn't show empty content (close #6439)
parent
bb222c8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
modules/gui/macosx/coredialogs.m
modules/gui/macosx/coredialogs.m
+12
-5
No files found.
modules/gui/macosx/coredialogs.m
View file @
e1b1237c
...
...
@@ -166,12 +166,7 @@ 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 */
b_progress_cancelled
=
NO
;
if
(
VLCIntf
)
[
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
||
b_progress_cancelled
)
...
...
@@ -195,6 +190,18 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
[
o_prog_description_txt
setStringValue
:
[
NSString
stringWithUTF8String
:
p_dialog
->
message
]];
else
[
o_prog_description_txt
setStringValue
:
@""
];
if
(
VLCIntf
)
[
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
||
b_progress_cancelled
)
return
;
[
o_prog_bar
setDoubleValue
:
0
];
[
o_prog_bar
setIndeterminate
:
YES
];
[
o_prog_bar
startAnimation
:
self
];
...
...
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