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
d96b2976
Commit
d96b2976
authored
Jan 29, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx_dialog_provider: Update the checked PopUp menu.
parent
b554afa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/gui/macosx_dialog_provider/dialogProvider.m
modules/gui/macosx_dialog_provider/dialogProvider.m
+5
-4
No files found.
modules/gui/macosx_dialog_provider/dialogProvider.m
View file @
d96b2976
...
...
@@ -917,7 +917,7 @@ bool checkProgressPanel (void *priv)
{
NSView
*
contentView
=
[
sender
contentView
];
assert
([
contentView
isKindOfClass
:[
VLCDialogGridView
class
]]);
VLCDialogGridView
*
gridView
=
contentView
;
VLCDialogGridView
*
gridView
=
(
VLCDialogGridView
*
)
contentView
;
NSRect
rect
=
NSMakeRect
(
0
,
0
,
0
,
0
);
rect
.
size
=
frameSize
;
...
...
@@ -1030,7 +1030,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
}
static
void
updateControlFromWidget
(
NSView
*
control
,
extension_widget_t
*
widget
)
static
void
updateControlFromWidget
(
NSView
*
control
,
extension_widget_t
*
widget
,
id
self
)
{
switch
(
widget
->
type
)
{
...
...
@@ -1099,6 +1099,7 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget)
[
popup
addItemWithTitle
:[
NSString
stringWithUTF8String
:
value
->
psz_text
]];
}
[
popup
synchronizeTitleAndSelectedItem
];
[
self
popUpSelectionChanged
:
popup
];
break
;
}
...
...
@@ -1157,7 +1158,7 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget)
if
(
!
control
&&
!
shouldDestroy
)
{
control
=
createControlFromWidget
(
widget
,
self
);
updateControlFromWidget
(
control
,
widget
);
updateControlFromWidget
(
control
,
widget
,
self
);
widget
->
p_sys_intf
=
control
;
update
=
YES
;
// Force update and repositionning
[
control
setHidden
:
widget
->
b_hide
];
...
...
@@ -1165,7 +1166,7 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget)
if
(
update
&&
!
shouldDestroy
)
{
updateControlFromWidget
(
control
,
widget
);
updateControlFromWidget
(
control
,
widget
,
self
);
[
control
setHidden
:
widget
->
b_hide
];
int
row
=
widget
->
i_row
-
1
;
...
...
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