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
44e8ceac
Commit
44e8ceac
authored
Jul 01, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: add lua http password to simplified prefs
This uses existing strings only
parent
d4a0c69d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
260 additions
and
31 deletions
+260
-31
extras/package/macosx/Resources/English.lproj/Preferences.xib
...as/package/macosx/Resources/English.lproj/Preferences.xib
+253
-31
modules/gui/macosx/simple_prefs.h
modules/gui/macosx/simple_prefs.h
+3
-0
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+4
-0
No files found.
extras/package/macosx/Resources/English.lproj/Preferences.xib
View file @
44e8ceac
This diff is collapsed.
Click to expand it.
modules/gui/macosx/simple_prefs.h
View file @
44e8ceac
...
...
@@ -102,6 +102,9 @@
IBOutlet
id
o_intf_nativefullscreen_ckb
;
IBOutlet
id
o_intf_autoresize_ckb
;
IBOutlet
id
o_intf_pauseminimized_ckb
;
IBOutlet
id
o_intf_luahttp_box
;
IBOutlet
id
o_intf_luahttppwd_lbl
;
IBOutlet
id
o_intf_luahttppwd_fld
;
IBOutlet
id
o_osd_encoding_pop
;
IBOutlet
id
o_osd_encoding_txt
;
...
...
modules/gui/macosx/simple_prefs.m
View file @
44e8ceac
...
...
@@ -239,6 +239,8 @@ create_toolbar_item(NSString * o_itemIdent, NSString * o_name, NSString * o_desc
[
o_intf_enableGrowl_ckb
setTitle
:
_NS
(
"Enable Growl notifications (on playlist item change)"
)];
[
o_intf_autoresize_ckb
setTitle
:
_NS
(
"Resize interface to the native video size"
)];
[
o_intf_pauseminimized_ckb
setTitle
:
_NS
(
"Pause the video playback when minimized"
)];
[
o_intf_luahttp_box
setTitle
:
_NS
(
"Lua HTTP"
)];
[
o_intf_luahttppwd_lbl
setStringValue
:
_NS
(
"Password"
)];
/* Subtitles and OSD */
[
o_osd_encoding_txt
setStringValue
:
_NS
(
"Default Encoding"
)];
...
...
@@ -459,6 +461,7 @@ static inline char * __config_GetLabel(vlc_object_t *p_this, const char *psz_nam
}
[
self
setupButton
:
o_intf_autoresize_ckb
forBoolValue
:
"macosx-video-autoresize"
];
[
self
setupButton
:
o_intf_pauseminimized_ckb
forBoolValue
:
"macosx-pause-minimized"
];
[
self
setupField
:
o_intf_luahttppwd_fld
forOption
:
"http-password"
];
/******************
* audio settings *
...
...
@@ -831,6 +834,7 @@ static inline void save_module_list(intf_thread_t * p_intf, id object, const cha
config_PutPsz
(
p_intf
,
"control"
,
[
tmpString
UTF8String
]);
}
}
config_PutPsz
(
p_intf
,
"http-password"
,
[[
o_intf_luahttppwd_fld
stringValue
]
UTF8String
]);
/* activate stuff without restart */
if
([
o_intf_appleremote_ckb
state
]
==
YES
)
...
...
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