Skip to content
Browse files

Linking the checkbox to `- [YRSolcounterPref toggleActivation:]`

  • Loading branch information...
1 parent 2df0729 commit 1cb11837780f1fefcc8143f585421f019c5199ec @ELLIOTTCABLE committed Jun 8, 2010
Showing with 24 additions and 15 deletions.
  1. +22 −14 Preference Pane/English.lproj/SolcounterPref.xib
  2. +2 −1 Preference Pane/YRSolcounterPref.h
View
36 Preference Pane/English.lproj/SolcounterPref.xib
@@ -12,7 +12,7 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="6"/>
+ <integer value="12"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -55,13 +55,13 @@
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSButton" id="263448171">
+ <object class="NSButton" id="742961861">
<reference key="NSNextResponder" ref="1037298196"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{18, 18}, {207, 18}}</string>
<reference key="NSSuperview" ref="1037298196"/>
<bool key="NSEnabled">YES</bool>
- <object class="NSButtonCell" key="NSCell" id="432035462">
+ <object class="NSButtonCell" key="NSCell" id="860083014">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Show Solcounter in menu bar</string>
@@ -70,7 +70,7 @@
<double key="NSSize">13</double>
<int key="NSfFlags">1044</int>
</object>
- <reference key="NSControlView" ref="263448171"/>
+ <reference key="NSControlView" ref="742961861"/>
<int key="NSButtonFlags">1211912703</int>
<int key="NSButtonFlags2">2</int>
<object class="NSCustomResource" key="NSNormalImage">
@@ -106,6 +106,14 @@
</object>
<int key="connectionID">26</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">toggleActivation:</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="742961861"/>
+ </object>
+ <int key="connectionID">101</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -143,7 +151,7 @@
<reference key="object" ref="1037298196"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="263448171"/>
+ <reference ref="742961861"/>
</object>
<reference key="parent" ref="660800786"/>
</object>
@@ -155,17 +163,17 @@
</object>
<object class="IBObjectRecord">
<int key="objectID">99</int>
- <reference key="object" ref="263448171"/>
+ <reference key="object" ref="742961861"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="432035462"/>
+ <reference ref="860083014"/>
</object>
<reference key="parent" ref="1037298196"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">100</int>
- <reference key="object" ref="432035462"/>
- <reference key="parent" ref="263448171"/>
+ <reference key="object" ref="860083014"/>
+ <reference key="parent" ref="742961861"/>
</object>
</object>
</object>
@@ -189,9 +197,9 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{321, 743}, {668, 54}}</string>
+ <string>{{351, 423}, {668, 54}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{321, 743}, {668, 54}}</string>
+ <string>{{351, 423}, {668, 54}}</string>
<integer value="1"/>
<integer value="1"/>
<string>{224.664, 10}</string>
@@ -216,7 +224,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">100</int>
+ <int key="maxID">101</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -337,7 +345,7 @@
<object class="IBPartialClassDescription">
<string key="className">NSControl</string>
<string key="superclassName">NSView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier" id="1014798451">
+ <object class="IBClassDescriptionSource" key="sourceIdentifier" id="533327388">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">AppKit.framework/Headers/NSControl.h</string>
</object>
@@ -379,7 +387,7 @@
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
- <reference key="sourceIdentifier" ref="1014798451"/>
+ <reference key="sourceIdentifier" ref="533327388"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
View
3 Preference Pane/YRSolcounterPref.h
@@ -11,9 +11,10 @@
@interface YRSolcounterPref : NSPreferencePane
{
-
+
}
- (void) mainViewDidLoad;
+- (IBAction) toggleActivation:(id)sender;
@end

0 comments on commit 1cb1183

Please sign in to comment.
Something went wrong with that request. Please try again.