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
65103f63
Commit
65103f63
authored
Feb 18, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: use proper checkbox in advanced prefs
parent
ea422217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+8
-10
No files found.
modules/gui/macosx/prefs_widgets.m
View file @
65103f63
...
...
@@ -1877,20 +1877,18 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
if
([
super
initWithFrame
:
mainFrame
item
:
_p_item
]
!=
nil
)
{
i_view_type
=
CONFIG_ITEM_BOOL
;
/* add the checkbox */
o_tooltip
=
[[
VLCStringUtility
sharedInstance
]
wrapString
:
_NS
((
char
*
)
p_item
->
psz_longtext
)
toWidth
:
PREFS_WRAP
];
ADD_CHECKBOX
(
o_checkbox
,
mainFrame
,
0
,
0
,
@""
,
o_tooltip
,
p_item
->
value
.
i
,
NSImageLeft
)
[
o_checkbox
setAutoresizingMask
:
NSViewNotSizable
];
[
self
addSubview
:
o_checkbox
];
/* add the label */
if
(
p_item
->
psz_text
)
o_labelString
=
_NS
((
char
*
)
p_item
->
psz_text
);
else
o_labelString
=
@""
;
ADD_LABEL
(
o_label
,
mainFrame
,
[
o_checkbox
frame
].
size
.
width
,
0
,
o_labelString
,
o_tooltip
)
[
o_label
setAutoresizingMask
:
NSViewNotSizable
];
[
self
addSubview
:
o_label
];
o_tooltip
=
[[
VLCStringUtility
sharedInstance
]
wrapString
:
_NS
((
char
*
)
p_item
->
psz_longtext
)
toWidth
:
PREFS_WRAP
];
/* add the checkbox */
ADD_CHECKBOX
(
o_checkbox
,
mainFrame
,
0
,
0
,
o_labelString
,
o_tooltip
,
p_item
->
value
.
i
,
NSImageLeft
)
[
o_checkbox
setAutoresizingMask
:
NSViewNotSizable
];
[
self
addSubview
:
o_checkbox
];
}
return
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