Tried to make Fwd/Rev buttons continuous; no success so far

This commit is contained in:
Matthias Neeracher 2011-08-23 17:17:53 +02:00
parent 46e0e6ba72
commit fa5498ed62
2 changed files with 15 additions and 4 deletions

View File

@ -301,6 +301,10 @@ static const char * kMADocWindowObserver = "MADocWindowObserver";
[item setTitle:title]; [item setTitle:title];
} }
} }
if ([item action] == @selector(mediaSkipForward:)
|| [item action] == @selector(mediaSkipBackward:)
)
[[item _button] setContinuous:YES];
return [mediaController selectionIndex] != NSNotFound; return [mediaController selectionIndex] != NSNotFound;
} }

View File

@ -273,7 +273,6 @@
<string key="NSFrame">{{0, 14}, {96, 22}}</string> <string key="NSFrame">{{0, 14}, {96, 22}}</string>
<reference key="NSSuperview"/> <reference key="NSSuperview"/>
<reference key="NSWindow"/> <reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:123</string> <string key="NSReuseIdentifierKey">_NS:123</string>
<int key="NSTag">100</int> <int key="NSTag">100</int>
<bool key="NSEnabled">YES</bool> <bool key="NSEnabled">YES</bool>
@ -453,11 +452,10 @@
</object> </object>
</object> </object>
</object> </object>
<object class="NSMutableArray" key="NSToolbarIBAllowedItems"> <object class="NSArray" key="NSToolbarIBAllowedItems">
<bool key="EncodedWithXMLCoder">YES</bool> <bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="202060684"/> <reference ref="202060684"/>
<reference ref="585433049"/> <reference ref="585433049"/>
<reference ref="916551158"/>
<reference ref="530605789"/> <reference ref="530605789"/>
<reference ref="962020774"/> <reference ref="962020774"/>
<reference ref="136919366"/> <reference ref="136919366"/>
@ -466,6 +464,7 @@
<reference ref="490181719"/> <reference ref="490181719"/>
<reference ref="1015085479"/> <reference ref="1015085479"/>
<reference ref="957210769"/> <reference ref="957210769"/>
<reference ref="916551158"/>
</object> </object>
<object class="NSMutableArray" key="NSToolbarIBDefaultItems"> <object class="NSMutableArray" key="NSToolbarIBDefaultItems">
<bool key="EncodedWithXMLCoder">YES</bool> <bool key="EncodedWithXMLCoder">YES</bool>
@ -1788,6 +1787,14 @@
</object> </object>
<int key="connectionID">100288</int> <int key="connectionID">100288</int>
</object> </object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="222954750"/>
<reference key="destination" ref="512844837"/>
</object>
<int key="connectionID">100289</int>
</object>
</object> </object>
<object class="IBMutableOrderedSet" key="objectRecords"> <object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects"> <object class="NSArray" key="orderedObjects">
@ -2455,7 +2462,7 @@
<reference key="dict.values" ref="0"/> <reference key="dict.values" ref="0"/>
</object> </object>
<nil key="sourceID"/> <nil key="sourceID"/>
<int key="maxID">100288</int> <int key="maxID">100289</int>
</object> </object>
<object class="IBClassDescriber" key="IBDocument.Classes"> <object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions"> <object class="NSMutableArray" key="referencedPartialClassDescriptions">