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
9892a1ce
Commit
9892a1ce
authored
Feb 12, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed caching preferences (refs #5994)
also includes a minor fix to make room for the wordy German l10n
parent
20b891eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
53 deletions
+28
-53
extras/package/macosx/Resources/English.lproj/Preferences.xib
...as/package/macosx/Resources/English.lproj/Preferences.xib
+14
-36
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+14
-17
No files found.
extras/package/macosx/Resources/English.lproj/Preferences.xib
View file @
9892a1ce
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<integer
value=
"2311"
/>
<integer
value=
"2311"
/>
<integer
value=
"2440"
/>
<integer
value=
"2440"
/>
<integer
value=
"2562"
/>
<integer
value=
"2265"
/>
<integer
value=
"2265"
/>
</object>
</object>
<object
class=
"NSArray"
key=
"IBDocument.PluginDependencies"
>
<object
class=
"NSArray"
key=
"IBDocument.PluginDependencies"
>
...
@@ -1067,7 +1068,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1067,7 +1068,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string
key=
"NSExtension"
>
NSResponder
</string>
<string
key=
"NSExtension"
>
NSResponder
</string>
</object>
</object>
<object
class=
"NSCustomView"
id=
"1030708865"
>
<object
class=
"NSCustomView"
id=
"1030708865"
>
<
reference
key=
"NSNextResponder"
/>
<
nil
key=
"NSNextResponder"
/>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<object
class=
"NSMutableArray"
key=
"NSSubviews"
>
<object
class=
"NSMutableArray"
key=
"NSSubviews"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
...
@@ -1076,7 +1077,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1076,7 +1077,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{18, 412}, {246, 18}}
</string>
<string
key=
"NSFrame"
>
{{18, 412}, {246, 18}}
</string>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"771203121"
>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"771203121"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1109,7 +1109,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1109,7 +1109,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{250, 102}, {209, 21}}
</string>
<string
key=
"NSFrame"
>
{{250, 102}, {209, 21}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSSliderCell"
key=
"NSCell"
id=
"180260830"
>
<object
class=
"NSSliderCell"
key=
"NSCell"
id=
"180260830"
>
<int
key=
"NSCellFlags"
>
67501824
</int>
<int
key=
"NSCellFlags"
>
67501824
</int>
...
@@ -1138,7 +1137,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1138,7 +1137,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{465, 102}, {46, 22}}
</string>
<string
key=
"NSFrame"
>
{{465, 102}, {46, 22}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"996375599"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"996375599"
>
<int
key=
"NSCellFlags"
>
-1804468671
</int>
<int
key=
"NSCellFlags"
>
-1804468671
</int>
...
@@ -1260,7 +1258,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1260,7 +1258,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{10, 78}, {446, 18}}
</string>
<string
key=
"NSFrame"
>
{{10, 78}, {446, 18}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"296385450"
>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"296385450"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1283,7 +1280,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1283,7 +1280,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{9, 50}, {238, 17}}
</string>
<string
key=
"NSFrame"
>
{{9, 50}, {238, 17}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"817500630"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"817500630"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1300,7 +1296,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1300,7 +1296,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{249, 44}, {185, 26}}
</string>
<string
key=
"NSFrame"
>
{{249, 44}, {185, 26}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSPopUpButtonCell"
key=
"NSCell"
id=
"325965286"
>
<object
class=
"NSPopUpButtonCell"
key=
"NSCell"
id=
"325965286"
>
<int
key=
"NSCellFlags"
>
-2076049856
</int>
<int
key=
"NSCellFlags"
>
-2076049856
</int>
...
@@ -1371,7 +1366,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1371,7 +1366,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{9, 15}, {238, 17}}
</string>
<string
key=
"NSFrame"
>
{{9, 15}, {238, 17}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"508139988"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"508139988"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1388,7 +1382,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1388,7 +1382,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{252, 13}, {259, 22}}
</string>
<string
key=
"NSFrame"
>
{{252, 13}, {259, 22}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"879009110"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"879009110"
>
<int
key=
"NSCellFlags"
>
-1803944383
</int>
<int
key=
"NSCellFlags"
>
-1803944383
</int>
...
@@ -1406,7 +1399,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1406,7 +1399,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
268
</int>
<int
key=
"NSvFlags"
>
268
</int>
<string
key=
"NSFrame"
>
{{12, 129}, {499, 48}}
</string>
<string
key=
"NSFrame"
>
{{12, 129}, {499, 48}}
</string>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSSuperview"
ref=
"830950655"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:736
</string>
<string
key=
"NSReuseIdentifierKey"
>
_NS:736
</string>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<int
key=
"NSNumRows"
>
2
</int>
<int
key=
"NSNumRows"
>
2
</int>
...
@@ -1598,12 +1590,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1598,12 +1590,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
<string
key=
"NSFrame"
>
{{2, 2}, {531, 187}}
</string>
<string
key=
"NSFrame"
>
{{2, 2}, {531, 187}}
</string>
<reference
key=
"NSSuperview"
ref=
"426339738"
/>
<reference
key=
"NSSuperview"
ref=
"426339738"
/>
<reference
key=
"NSWindow"
/>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{17, 201}, {535, 204}}
</string>
<string
key=
"NSFrame"
>
{{17, 201}, {535, 204}}
</string>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1637,7 +1627,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1637,7 +1627,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{9, 14}, {238, 17}}
</string>
<string
key=
"NSFrame"
>
{{9, 14}, {238, 17}}
</string>
<reference
key=
"NSSuperview"
ref=
"1026306433"
/>
<reference
key=
"NSSuperview"
ref=
"1026306433"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"636469135"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"636469135"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1654,7 +1643,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1654,7 +1643,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{249, 9}, {185, 26}}
</string>
<string
key=
"NSFrame"
>
{{249, 9}, {185, 26}}
</string>
<reference
key=
"NSSuperview"
ref=
"1026306433"
/>
<reference
key=
"NSSuperview"
ref=
"1026306433"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSPopUpButtonCell"
key=
"NSCell"
id=
"473294496"
>
<object
class=
"NSPopUpButtonCell"
key=
"NSCell"
id=
"473294496"
>
<int
key=
"NSCellFlags"
>
-2076049856
</int>
<int
key=
"NSCellFlags"
>
-2076049856
</int>
...
@@ -1723,12 +1711,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1723,12 +1711,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
<string
key=
"NSFrame"
>
{{2, 2}, {531, 43}}
</string>
<string
key=
"NSFrame"
>
{{2, 2}, {531, 43}}
</string>
<reference
key=
"NSSuperview"
ref=
"376706301"
/>
<reference
key=
"NSSuperview"
ref=
"376706301"
/>
<reference
key=
"NSWindow"
/>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{17, 137}, {535, 60}}
</string>
<string
key=
"NSFrame"
>
{{17, 137}, {535, 60}}
</string>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1762,7 +1748,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1762,7 +1748,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{14, 73}, {446, 18}}
</string>
<string
key=
"NSFrame"
>
{{14, 73}, {446, 18}}
</string>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"652619151"
>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"652619151"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1785,7 +1770,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1785,7 +1770,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{204, 45}, {307, 22}}
</string>
<string
key=
"NSFrame"
>
{{204, 45}, {307, 22}}
</string>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"686683389"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"686683389"
>
<int
key=
"NSCellFlags"
>
-1267073471
</int>
<int
key=
"NSCellFlags"
>
-1267073471
</int>
...
@@ -1803,7 +1787,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1803,7 +1787,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{13, 15}, {186, 17}}
</string>
<string
key=
"NSFrame"
>
{{13, 15}, {186, 17}}
</string>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"844982292"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"844982292"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1820,7 +1803,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1820,7 +1803,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{204, 13}, {307, 22}}
</string>
<string
key=
"NSFrame"
>
{{204, 13}, {307, 22}}
</string>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"655403659"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"655403659"
>
<int
key=
"NSCellFlags"
>
-1267073471
</int>
<int
key=
"NSCellFlags"
>
-1267073471
</int>
...
@@ -1838,7 +1820,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1838,7 +1820,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{13, 47}, {186, 17}}
</string>
<string
key=
"NSFrame"
>
{{13, 47}, {186, 17}}
</string>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSSuperview"
ref=
"766648432"
/>
<reference
key=
"NSWindow"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"126214203"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"126214203"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1853,12 +1834,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1853,12 +1834,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
<string
key=
"NSFrame"
>
{{2, 2}, {531, 100}}
</string>
<string
key=
"NSFrame"
>
{{2, 2}, {531, 100}}
</string>
<reference
key=
"NSSuperview"
ref=
"141205708"
/>
<reference
key=
"NSSuperview"
ref=
"141205708"
/>
<reference
key=
"NSWindow"
/>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{17, 16}, {535, 117}}
</string>
<string
key=
"NSFrame"
>
{{17, 16}, {535, 117}}
</string>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSSuperview"
ref=
"1030708865"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<int
key=
"NSCellFlags"
>
67239424
</int>
<int
key=
"NSCellFlags"
>
67239424
</int>
...
@@ -1879,8 +1858,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -1879,8 +1858,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
</object>
</object>
<string
key=
"NSFrameSize"
>
{569, 448}
</string>
<string
key=
"NSFrameSize"
>
{569, 448}
</string>
<reference
key=
"NSSuperview"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSClassName"
>
NSView
</string>
<string
key=
"NSClassName"
>
NSView
</string>
<string
key=
"NSExtension"
>
NSResponder
</string>
<string
key=
"NSExtension"
>
NSResponder
</string>
</object>
</object>
...
@@ -3036,7 +3013,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3036,7 +3013,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string
key=
"NSExtension"
>
NSResponder
</string>
<string
key=
"NSExtension"
>
NSResponder
</string>
</object>
</object>
<object
class=
"NSCustomView"
id=
"127370005"
>
<object
class=
"NSCustomView"
id=
"127370005"
>
<
nil
key=
"NSNextResponder"
/>
<
reference
key=
"NSNextResponder"
/>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<object
class=
"NSMutableArray"
key=
"NSSubviews"
>
<object
class=
"NSMutableArray"
key=
"NSSubviews"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
...
@@ -3095,7 +3072,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3095,7 +3072,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<reference
key=
"NSSuperview"
ref=
"886591955"
/>
<reference
key=
"NSSuperview"
ref=
"886591955"
/>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{1
6, 374
}, {538, 62}}
</string>
<string
key=
"NSFrame"
>
{{1
7, 385
}, {538, 62}}
</string>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
...
@@ -3196,7 +3173,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3196,7 +3173,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<reference
key=
"NSSuperview"
ref=
"247116589"
/>
<reference
key=
"NSSuperview"
ref=
"247116589"
/>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{1
7, 280
}, {536, 90}}
</string>
<string
key=
"NSFrame"
>
{{1
8, 291
}, {536, 90}}
</string>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
...
@@ -3566,7 +3543,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3566,7 +3543,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<reference
key=
"NSSuperview"
ref=
"980937121"
/>
<reference
key=
"NSSuperview"
ref=
"980937121"
/>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{1
7
, 16}, {536, 176}}
</string>
<string
key=
"NSFrame"
>
{{1
8
, 16}, {536, 176}}
</string>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
...
@@ -3599,7 +3576,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3599,7 +3576,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<object
class=
"NSPopUpButton"
id=
"234498105"
>
<object
class=
"NSPopUpButton"
id=
"234498105"
>
<reference
key=
"NSNextResponder"
ref=
"488052292"
/>
<reference
key=
"NSNextResponder"
ref=
"488052292"
/>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{317,
2
7}, {202, 26}}
</string>
<string
key=
"NSFrame"
>
{{317,
3
7}, {202, 26}}
</string>
<reference
key=
"NSSuperview"
ref=
"488052292"
/>
<reference
key=
"NSSuperview"
ref=
"488052292"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSPopUpButtonCell"
key=
"NSCell"
id=
"369526741"
>
<object
class=
"NSPopUpButtonCell"
key=
"NSCell"
id=
"369526741"
>
...
@@ -3669,7 +3646,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3669,7 +3646,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<object
class=
"NSTextField"
id=
"615512981"
>
<object
class=
"NSTextField"
id=
"615512981"
>
<reference
key=
"NSNextResponder"
ref=
"488052292"
/>
<reference
key=
"NSNextResponder"
ref=
"488052292"
/>
<int
key=
"NSvFlags"
>
256
</int>
<int
key=
"NSvFlags"
>
256
</int>
<string
key=
"NSFrame"
>
{{14,
3
3}, {301, 17}}
</string>
<string
key=
"NSFrame"
>
{{14,
4
3}, {301, 17}}
</string>
<reference
key=
"NSSuperview"
ref=
"488052292"
/>
<reference
key=
"NSSuperview"
ref=
"488052292"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"86555432"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"86555432"
>
...
@@ -3685,7 +3662,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3685,7 +3662,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<object
class=
"NSTextField"
id=
"1021847329"
>
<object
class=
"NSTextField"
id=
"1021847329"
>
<reference
key=
"NSNextResponder"
ref=
"488052292"
/>
<reference
key=
"NSNextResponder"
ref=
"488052292"
/>
<int
key=
"NSvFlags"
>
268
</int>
<int
key=
"NSvFlags"
>
268
</int>
<string
key=
"NSFrame"
>
{{14, 13}, {504,
1
2}}
</string>
<string
key=
"NSFrame"
>
{{14, 13}, {504,
2
2}}
</string>
<reference
key=
"NSSuperview"
ref=
"488052292"
/>
<reference
key=
"NSSuperview"
ref=
"488052292"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"410251165"
>
<object
class=
"NSTextFieldCell"
key=
"NSCell"
id=
"410251165"
>
...
@@ -3699,11 +3676,11 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3699,11 +3676,11 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{2, 2}, {53
2, 62
}}
</string>
<string
key=
"NSFrame"
>
{{2, 2}, {53
3, 71
}}
</string>
<reference
key=
"NSSuperview"
ref=
"30634034"
/>
<reference
key=
"NSSuperview"
ref=
"30634034"
/>
</object>
</object>
</object>
</object>
<string
key=
"NSFrame"
>
{{1
7, 197}, {536, 79
}}
</string>
<string
key=
"NSFrame"
>
{{1
8, 198}, {537, 88
}}
</string>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<reference
key=
"NSSuperview"
ref=
"127370005"
/>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
...
@@ -3724,7 +3701,8 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -3724,7 +3701,8 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<bool
key=
"NSTransparent"
>
NO
</bool>
<bool
key=
"NSTransparent"
>
NO
</bool>
</object>
</object>
</object>
</object>
<string
key=
"NSFrameSize"
>
{570, 456}
</string>
<string
key=
"NSFrameSize"
>
{572, 467}
</string>
<reference
key=
"NSSuperview"
/>
<string
key=
"NSClassName"
>
NSView
</string>
<string
key=
"NSClassName"
>
NSView
</string>
<string
key=
"NSExtension"
>
NSResponder
</string>
<string
key=
"NSExtension"
>
NSResponder
</string>
</object>
</object>
...
@@ -9142,7 +9120,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -9142,7 +9120,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<boolean
value=
"YES"
/>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<boolean
value=
"YES"
/>
<string>
{{46
1, 181}, {570, 456
}}
</string>
<string>
{{46
0, 170}, {572, 467
}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
modules/gui/macosx/simple_prefs.m
View file @
9892a1ce
...
@@ -604,24 +604,20 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
...
@@ -604,24 +604,20 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
[[
o_input_cachelevel_pop
itemAtIndex
:
1
]
setTag
:
100
];
[[
o_input_cachelevel_pop
itemAtIndex
:
1
]
setTag
:
100
];
[[
o_input_cachelevel_pop
itemAtIndex
:
2
]
setTag
:
200
];
[[
o_input_cachelevel_pop
itemAtIndex
:
2
]
setTag
:
200
];
[[
o_input_cachelevel_pop
itemAtIndex
:
3
]
setTag
:
300
];
[[
o_input_cachelevel_pop
itemAtIndex
:
3
]
setTag
:
300
];
[[
o_input_cachelevel_pop
itemAtIndex
:
4
]
setTag
:
4
00
];
[[
o_input_cachelevel_pop
itemAtIndex
:
4
]
setTag
:
5
00
];
[[
o_input_cachelevel_pop
itemAtIndex
:
5
]
setTag
:
5
00
];
[[
o_input_cachelevel_pop
itemAtIndex
:
5
]
setTag
:
10
00
];
#define TestCaC( name
) \
#define TestCaC( name, factor
) \
b_cache_equal = b_cache_equal && \
b_cache_equal = b_cache_equal && \
( i_cache == config_GetInt( p_intf, name ) )
( i_cache * factor == config_GetInt( p_intf, name ) );
#define TestCaCi( name, int ) \
b_cache_equal = b_cache_equal && \
( ( i_cache * int ) == config_GetInt( p_intf, name ) )
/* Select the accurate value of the PopupButton */
/* Select the accurate value of the PopupButton */
bool
b_cache_equal
=
true
;
bool
b_cache_equal
=
true
;
int
i_cache
=
config_GetInt
(
p_intf
,
"file-caching"
);
int
i_cache
=
config_GetInt
(
p_intf
,
"file-caching"
);
TestCaC
(
"network-caching"
);
TestCaC
(
"network-caching"
,
10
/
3
);
TestCaC
(
"disc-caching"
);
TestCaC
(
"disc-caching"
,
1
);
TestCaC
(
"live-caching"
);
TestCaC
(
"live-caching"
,
1
);
if
(
b_cache_equal
)
if
(
b_cache_equal
)
{
{
[
o_input_cachelevel_pop
selectItemWithTag
:
i_cache
];
[
o_input_cachelevel_pop
selectItemWithTag
:
i_cache
];
...
@@ -632,6 +628,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
...
@@ -632,6 +628,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
[
o_input_cachelevel_pop
selectItemWithTitle
:
_NS
(
"Custom"
)];
[
o_input_cachelevel_pop
selectItemWithTitle
:
_NS
(
"Custom"
)];
[
o_input_cachelevel_custom_txt
setHidden
:
NO
];
[
o_input_cachelevel_custom_txt
setHidden
:
NO
];
}
}
#undef TestCaC
/*********************
/*********************
* subtitle settings *
* subtitle settings *
...
@@ -928,8 +925,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
...
@@ -928,8 +925,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
config_PutInt
(
p_intf
,
"mkv-preload-local-dir"
,
[
o_input_mkv_preload_dir_ckb
state
]
);
config_PutInt
(
p_intf
,
"mkv-preload-local-dir"
,
[
o_input_mkv_preload_dir_ckb
state
]
);
#define CaCi( name, int ) config_PutInt( p_intf, name, int * [[o_input_cachelevel_pop selectedItem] tag] )
#define CaC( name, factor ) config_PutInt( p_intf, name, [[o_input_cachelevel_pop selectedItem] tag] * factor )
#define CaC( name ) CaCi( name, 1 )
if
(
[[
o_input_cachelevel_pop
selectedItem
]
tag
]
==
0
)
if
(
[[
o_input_cachelevel_pop
selectedItem
]
tag
]
==
0
)
{
{
msg_Dbg
(
p_intf
,
"Custom chosen, not adjusting cache values"
);
msg_Dbg
(
p_intf
,
"Custom chosen, not adjusting cache values"
);
...
@@ -937,11 +933,12 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
...
@@ -937,11 +933,12 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
else
else
{
{
msg_Dbg
(
p_intf
,
"Adjusting all cache values to: %i"
,
(
int
)[[
o_input_cachelevel_pop
selectedItem
]
tag
]
);
msg_Dbg
(
p_intf
,
"Adjusting all cache values to: %i"
,
(
int
)[[
o_input_cachelevel_pop
selectedItem
]
tag
]
);
CaC
(
"file-caching"
);
CaC
(
"file-caching"
,
1
);
CaC
(
"network-caching"
);
CaC
(
"network-caching"
,
10
/
3
);
CaC
(
"disc-caching"
);
CaC
(
"disc-caching"
,
1
);
CaC
(
"live-caching"
);
CaC
(
"live-caching"
,
1
);
}
}
#undef CaC
b_inputSettingChanged
=
NO
;
b_inputSettingChanged
=
NO
;
}
}
...
...
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