Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
608d433e
Commit
608d433e
authored
Dec 13, 2015
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix problem saving native fullscreen preference
parent
d27c7bfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+6
-7
No files found.
modules/gui/macosx/simple_prefs.m
View file @
608d433e
...
@@ -918,13 +918,11 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
...
@@ -918,13 +918,11 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
config_PutInt
(
p_intf
,
"metadata-network-access"
,
[
_intf_artCheckbox
state
]);
config_PutInt
(
p_intf
,
"metadata-network-access"
,
[
_intf_artCheckbox
state
]);
config_PutInt
(
p_intf
,
"embedded-video"
,
[
_video_embeddedCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-appleremote"
,
[
_intf_appleremoteCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-appleremote"
,
[
_intf_appleremoteCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-appleremote-sysvol"
,
[
_intf_appleremote_sysvolCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-appleremote-sysvol"
,
[
_intf_appleremote_sysvolCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-mediakeys"
,
[
_intf_mediakeysCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-mediakeys"
,
[
_intf_mediakeysCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-interfacestyle"
,
[
_intf_style_darkButtonCell
state
]);
config_PutInt
(
p_intf
,
"macosx-interfacestyle"
,
[
_intf_style_darkButtonCell
state
]);
config_PutInt
(
p_intf
,
"macosx-nativefullscreenmode"
,
[
_video_nativeFullscreenCheckbox
state
]);
if
([
_intf_enableNotificationsCheckbox
state
]
==
NSOnState
)
{
if
([
_intf_enableNotificationsCheckbox
state
]
==
NSOnState
)
{
tmpString
=
getString
(
"control"
);
tmpString
=
getString
(
"control"
);
...
@@ -1004,6 +1002,8 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
...
@@ -1004,6 +1002,8 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
config_PutInt
(
p_intf
,
"macosx-pause-minimized"
,
[
_video_pauseWhenMinimizedCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-pause-minimized"
,
[
_video_pauseWhenMinimizedCheckbox
state
]);
config_PutInt
(
p_intf
,
"embedded-video"
,
[
_video_embeddedCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-nativefullscreenmode"
,
[
_video_nativeFullscreenCheckbox
state
]);
config_PutInt
(
p_intf
,
"macosx-vdev"
,
[[
_video_devicePopup
selectedItem
]
tag
]);
config_PutInt
(
p_intf
,
"macosx-vdev"
,
[[
_video_devicePopup
selectedItem
]
tag
]);
config_PutPsz
(
p_intf
,
"snapshot-path"
,
[[
_video_snap_folderTextField
stringValue
]
UTF8String
]);
config_PutPsz
(
p_intf
,
"snapshot-path"
,
[[
_video_snap_folderTextField
stringValue
]
UTF8String
]);
...
@@ -1203,14 +1203,13 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
...
@@ -1203,14 +1203,13 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
[
_selectFolderPanel
setCanCreateDirectories
:
YES
];
[
_selectFolderPanel
setCanCreateDirectories
:
YES
];
[
_selectFolderPanel
setPrompt
:
_NS
(
"Choose"
)];
[
_selectFolderPanel
setPrompt
:
_NS
(
"Choose"
)];
[
_selectFolderPanel
beginSheetModalForWindow
:
self
.
window
completionHandler
:
^
(
NSInteger
returnCode
)
{
[
_selectFolderPanel
beginSheetModalForWindow
:
self
.
window
completionHandler
:
^
(
NSInteger
returnCode
)
{
if
(
returnCode
==
NSOKButton
)
if
(
returnCode
==
NSOKButton
)
{
{
[
_video_snap_folderTextField
setStringValue
:
[[
_selectFolderPanel
URL
]
path
]];
[
_video_snap_folderTextField
setStringValue
:
[[
_selectFolderPanel
URL
]
path
]];
_videoSettingChanged
=
YES
;
}
}
}];
}];
}
else
}
_videoSettingChanged
=
YES
;
_videoSettingChanged
=
YES
;
}
}
-
(
void
)
showVideoSettings
-
(
void
)
showVideoSettings
...
...
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