Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
6d1c28b3
Commit
6d1c28b3
authored
Jul 13, 2006
by
Felix Paul Kühne
Browse files
* implement the error panel correctly (for the records: not < 10.3 compatible)
parent
da6b3153
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/interaction.m
View file @
6d1c28b3
...
...
@@ -158,7 +158,14 @@
if
(
p_dialog
->
i_id
==
DIALOG_ERRORS
)
{
msg_Err
(
p_intf
,
"Error: %s"
,
p_dialog
->
psz_description
);
msg_Dbg
(
p_intf
,
"error panel requested"
);
NSAlert
*
ourAlert
=
[
NSAlert
alertWithMessageText
:
[
NSString
stringWithUTF8String
:
p_dialog
->
psz_title
?
p_dialog
->
psz_title
:
_
(
"Error"
)]
defaultButton:
_NS
(
"OK"
)
alternateButton
:
nil
otherButton
:
nil
informativeTextWithFormat:
[
NSString
stringWithUTF8String
:
p_dialog
->
psz_description
]];
[
ourAlert
setAlertStyle
:
NSWarningAlertStyle
];
[
ourAlert
runModal
];
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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