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
50134d94
Commit
50134d94
authored
Mar 10, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: disable native fullscreen checkbox in prefs if a change would have no effect
parent
51cbd1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+13
-2
No files found.
modules/gui/macosx/simple_prefs.m
View file @
50134d94
...
...
@@ -464,12 +464,23 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
[
self
setupButton
:
o_intf_art_pop
forIntList
:
"album-art"
];
[
self
setupButton
:
o_intf_fspanel_ckb
forBoolValue
:
"macosx-fspanel"
];
[
self
setupButton
:
o_intf_nativefullscreen_ckb
forBoolValue
:
"macosx-nativefullscreenmode"
];
BOOL
b_correct_sdk
=
NO
;
#ifdef MAC_OS_X_VERSION_10_7
b_correct_sdk
=
YES
;
#endif
if
(
!
b_correct_sdk
||
!
OSX_LION
)
{
[
o_intf_nativefullscreen_ckb
setState
:
NSOffState
];
[
o_intf_nativefullscreen_ckb
setEnabled
:
NO
];
}
[
self
setupButton
:
o_intf_embedded_ckb
forBoolValue
:
"embedded-video"
];
[
self
setupButton
:
o_intf_appleremote_ckb
forBoolValue
:
"macosx-appleremote"
];
[
self
setupButton
:
o_intf_appleremote_ckb
forBoolValue
:
"macosx-appleremote"
];
[
self
setupButton
:
o_intf_mediakeys_ckb
forBoolValue
:
"macosx-mediakeys"
];
[
self
setupButton
:
o_intf_mediakeys_ckb
forBoolValue
:
"macosx-mediakeys"
];
if
(
[[
SUUpdater
sharedUpdater
]
lastUpdateCheckDate
]
!=
NULL
)
[
o_intf_last_update_lbl
setStringValue
:
[
NSString
stringWithFormat
:
_NS
(
"Last check on: %@"
),
[[[
SUUpdater
sharedUpdater
]
lastUpdateCheckDate
]
descriptionWithLocale
:
[[
NSUserDefaults
standardUserDefaults
]
dictionaryRepresentation
]]]];
else
...
...
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