aboutsummaryrefslogtreecommitdiffstats
path: root/Interfaces/English.lproj/DBView.xib
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-15 23:16:05 +0000
committerrowanbeentje <rowan@beent.je>2009-04-15 23:16:05 +0000
commit303910b3fe45314d98f12b3017881a02fef68459 (patch)
tree704e64e4cbfdea2c2c18e5320ed75d36a4416740 /Interfaces/English.lproj/DBView.xib
parent6c80b88f3c29b76fec560589e67920a99681723a (diff)
downloadsequelpro-303910b3fe45314d98f12b3017881a02fef68459.tar.gz
sequelpro-303910b3fe45314d98f12b3017881a02fef68459.tar.bz2
sequelpro-303910b3fe45314d98f12b3017881a02fef68459.zip
- Update the connection sheet favourites view to bind to the preferences directly to pick up updates more quickly
- Improve favouritesAlreadyExists check to respond correctly if the connection database, host or user is blank
Diffstat (limited to 'Interfaces/English.lproj/DBView.xib')
-rw-r--r--Interfaces/English.lproj/DBView.xib54
1 files changed, 30 insertions, 24 deletions
diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib
index 008470c1..6ed622de 100644
--- a/Interfaces/English.lproj/DBView.xib
+++ b/Interfaces/English.lproj/DBView.xib
@@ -2927,7 +2927,10 @@
<reference key="NSControlView" ref="363916571"/>
<int key="NSButtonFlags">-2042609409</int>
<int key="NSButtonFlags2">35</int>
- <reference key="NSNormalImage" ref="1068138296"/>
+ <object class="NSCustomResource" key="NSNormalImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">button_action</string>
+ </object>
<string key="NSAlternateContents"/>
<string key="NSKeyEquivalent"/>
<int key="NSPeriodicDelay">400</int>
@@ -4110,7 +4113,6 @@
</object>
<string key="NSFrame">{{1, 17}, {213, 157}}</string>
<reference key="NSSuperview" ref="112292194"/>
- <reference key="NSNextKeyView" ref="158332213"/>
<reference key="NSDocView" ref="158332213"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -4143,7 +4145,6 @@
</object>
<string key="NSFrame">{{1, 0}, {213, 17}}</string>
<reference key="NSSuperview" ref="112292194"/>
- <reference key="NSNextKeyView" ref="975843240"/>
<reference key="NSDocView" ref="975843240"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -4152,7 +4153,6 @@
</object>
<string key="NSFrame">{{12, 34}, {215, 175}}</string>
<reference key="NSSuperview" ref="781284031"/>
- <reference key="NSNextKeyView" ref="131927425"/>
<int key="NSsFlags">562</int>
<reference key="NSVScroller" ref="785468991"/>
<reference key="NSHScroller" ref="710690013"/>
@@ -4450,7 +4450,7 @@
<object class="NSTextView" id="798764405">
<reference key="NSNextResponder" ref="593223452"/>
<int key="NSvFlags">2322</int>
- <string key="NSFrameSize">{588, 72}</string>
+ <string key="NSFrameSize">{588, 0}</string>
<reference key="NSSuperview" ref="593223452"/>
<object class="NSTextContainer" key="NSTextContainer" id="623412409">
<object class="NSLayoutManager" key="NSLayoutManager">
@@ -9908,6 +9908,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string key="NSClassName">NSView</string>
</object>
<object class="NSUserDefaultsController" id="461189245">
+ <object class="NSMutableArray" key="NSDeclaredKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>favorites</string>
+ </object>
<bool key="NSSharedInstance">YES</bool>
</object>
<object class="NSArrayController" id="302582105">
@@ -11319,22 +11323,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<int key="connectionID">2275</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBBindingConnection" key="connection">
- <string key="label">contentArray: favorites</string>
- <reference key="source" ref="302582105"/>
- <reference key="destination" ref="427689665"/>
- <object class="NSNibBindingConnector" key="connector">
- <reference key="NSSource" ref="302582105"/>
- <reference key="NSDestination" ref="427689665"/>
- <string key="NSLabel">contentArray: favorites</string>
- <string key="NSBinding">contentArray</string>
- <string key="NSKeyPath">favorites</string>
- <int key="NSNibBindingConnectorVersion">2</int>
- </object>
- </object>
- <int key="connectionID">3149</int>
- </object>
- <object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">argumentField</string>
<reference key="source" ref="392169872"/>
@@ -12522,6 +12510,22 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<int key="connectionID">5379</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">contentArray: values.favorites</string>
+ <reference key="source" ref="302582105"/>
+ <reference key="destination" ref="461189245"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="302582105"/>
+ <reference key="NSDestination" ref="461189245"/>
+ <string key="NSLabel">contentArray: values.favorites</string>
+ <string key="NSBinding">contentArray</string>
+ <string key="NSKeyPath">values.favorites</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">5388</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -19750,8 +19754,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{476, 484}, {519, 335}}</string>
- <string>{{476, 484}, {519, 335}}</string>
+ <string>{{397, 484}, {519, 335}}</string>
+ <string>{{397, 484}, {519, 335}}</string>
<reference ref="9"/>
<string>{{136, 447}, {519, 335}}</string>
<reference ref="8"/>
@@ -20755,7 +20759,7 @@ Y2hhbmdlIHRoZSBvcmRlcg</string>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">5381</int>
+ <int key="maxID">5388</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -21269,6 +21273,7 @@ Y2hhbmdlIHRoZSBvcmRlcg</string>
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addConnectionToFavorites:</string>
<string>addDatabase:</string>
<string>analyzeTable:</string>
<string>cancelConnectSheet:</string>
@@ -21334,6 +21339,7 @@ Y2hhbmdlIHRoZSBvcmRlcg</string>
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">