Permalink
Browse files

Add panel for integration settings.

  • Loading branch information...
1 parent 0f8ac90 commit 55d57ba0769c7086939e803fd1122ac6aa498cb6 @dlundqvist dlundqvist committed with Dec 23, 2008
Showing with 151 additions and 1 deletion.
  1. +148 −1 English.lproj/Preferences.xib
  2. +1 −0 PBPrefsWindowController.h
  3. +2 −0 PBPrefsWindowController.m
View
149 English.lproj/Preferences.xib
@@ -400,6 +400,60 @@
</object>
<bool key="NSSharedInstance">YES</bool>
</object>
+ <object class="NSCustomView" id="1012601198">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">268</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSButton" id="978972354">
+ <reference key="NSNextResponder" ref="1012601198"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{18, 38}, {111, 18}}</string>
+ <reference key="NSSuperview" ref="1012601198"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="469684733">
+ <int key="NSCellFlags">-2080244224</int>
+ <int key="NSCellFlags2">0</int>
+ <string type="base64-UTF8" key="NSContents">RW5hYmxlICdHaXN0IGl0Jw</string>
+ <reference key="NSSupport" ref="734450335"/>
+ <reference key="NSControlView" ref="978972354"/>
+ <int key="NSButtonFlags">1211912703</int>
+ <int key="NSButtonFlags2">130</int>
+ <reference key="NSNormalImage" ref="294005107"/>
+ <reference key="NSAlternateImage" ref="690089052"/>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
+ <object class="NSButton" id="740198534">
+ <reference key="NSNextResponder" ref="1012601198"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{18, 18}, {121, 18}}</string>
+ <reference key="NSSuperview" ref="1012601198"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="18634163">
+ <int key="NSCellFlags">-2080244224</int>
+ <int key="NSCellFlags2">0</int>
+ <string key="NSContents">Enable Gravatar</string>
+ <reference key="NSSupport" ref="734450335"/>
+ <reference key="NSControlView" ref="740198534"/>
+ <int key="NSButtonFlags">1211912703</int>
+ <int key="NSButtonFlags2">130</int>
+ <reference key="NSNormalImage" ref="294005107"/>
+ <reference key="NSAlternateImage" ref="690089052"/>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
+ </object>
+ <string key="NSFrameSize">{400, 74}</string>
+ <reference key="NSSuperview"/>
+ <string key="NSClassName">NSView</string>
+ </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
@@ -615,6 +669,46 @@
</object>
<int key="connectionID">86</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">integrationPrefsView</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="1012601198"/>
+ </object>
+ <int key="connectionID">89</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: values.PBEnableGist</string>
+ <reference key="source" ref="978972354"/>
+ <reference key="destination" ref="557723770"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="978972354"/>
+ <reference key="NSDestination" ref="557723770"/>
+ <string key="NSLabel">value: values.PBEnableGist</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">values.PBEnableGist</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">97</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: values.PBEnableGravatar</string>
+ <reference key="source" ref="740198534"/>
+ <reference key="destination" ref="557723770"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="740198534"/>
+ <reference key="NSDestination" ref="557723770"/>
+ <string key="NSLabel">value: values.PBEnableGravatar</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">values.PBEnableGravatar</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">101</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -892,6 +986,45 @@
<reference key="object" ref="806993456"/>
<reference key="parent" ref="1032928366"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">88</int>
+ <reference key="object" ref="1012601198"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="978972354"/>
+ <reference ref="740198534"/>
+ </object>
+ <reference key="parent" ref="1002"/>
+ <string key="objectName">Integration</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">90</int>
+ <reference key="object" ref="978972354"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="469684733"/>
+ </object>
+ <reference key="parent" ref="1012601198"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">91</int>
+ <reference key="object" ref="469684733"/>
+ <reference key="parent" ref="978972354"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">92</int>
+ <reference key="object" ref="740198534"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="18634163"/>
+ </object>
+ <reference key="parent" ref="1012601198"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">93</int>
+ <reference key="object" ref="18634163"/>
+ <reference key="parent" ref="740198534"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -940,7 +1073,13 @@
<string>64.IBPluginDependency</string>
<string>77.IBPluginDependency</string>
<string>78.IBPluginDependency</string>
+ <string>88.IBEditorWindowLastContentRect</string>
+ <string>88.IBPluginDependency</string>
<string>9.IBPluginDependency</string>
+ <string>90.IBPluginDependency</string>
+ <string>91.IBPluginDependency</string>
+ <string>92.IBPluginDependency</string>
+ <string>93.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -994,6 +1133,12 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>{{211, 334}, {400, 74}}</string>
<string>{{474, 394}, {239, 54}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1023,7 +1168,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">86</int>
+ <int key="maxID">101</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1062,6 +1207,7 @@
<string>generalPrefsView</string>
<string>gitPathController</string>
<string>gitPathOpenAccessory</string>
+ <string>integrationPrefsView</string>
<string>updatesPrefsView</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -1071,6 +1217,7 @@
<string>NSPathControl</string>
<string>NSView</string>
<string>NSView</string>
+ <string>NSView</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
View
1 PBPrefsWindowController.h
@@ -12,6 +12,7 @@
@interface PBPrefsWindowController : DBPrefsWindowController {
/* Outlets for Preference Views */
IBOutlet NSView *generalPrefsView;
+ IBOutlet NSView *integrationPrefsView;
IBOutlet NSView *updatesPrefsView;
/* Variables for the Updates View */
View
2 PBPrefsWindowController.m
@@ -17,6 +17,8 @@ - (void)setupToolbar
{
// GENERAL
[self addView:generalPrefsView label:@"General" image:[NSImage imageNamed:@"gitx"]];
+ // INTERGRATION
+ [self addView:integrationPrefsView label:@"Integration" image:[NSImage imageNamed:NSImageNameNetwork]];
// UPDATES
[self addView:updatesPrefsView label:@"Updates"];
}

0 comments on commit 55d57ba

Please sign in to comment.