diff options
author | rowanbeentje <rowan@beent.je> | 2009-07-06 21:01:52 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-07-06 21:01:52 +0000 |
commit | 86b104a1da6857792c1feb7dcec0d3d654fdac5f (patch) | |
tree | 112acee41b8870a1197f6cf5591ae9f4fa6c2343 /Interfaces | |
parent | ba53d971b598247500e93a665b4cdb0526a36a50 (diff) | |
download | sequelpro-86b104a1da6857792c1feb7dcec0d3d654fdac5f.tar.gz sequelpro-86b104a1da6857792c1feb7dcec0d3d654fdac5f.tar.bz2 sequelpro-86b104a1da6857792c1feb7dcec0d3d654fdac5f.zip |
- Improve handling of the new favorites interface in preferences, simplifying the code and fixing one or two edge cases that caused disassociation (desynch) of keychain passwords from the favorite
Diffstat (limited to 'Interfaces')
-rw-r--r-- | Interfaces/English.lproj/Preferences.xib | 273 |
1 files changed, 133 insertions, 140 deletions
diff --git a/Interfaces/English.lproj/Preferences.xib b/Interfaces/English.lproj/Preferences.xib index 78dde430..b07f25e5 100644 --- a/Interfaces/English.lproj/Preferences.xib +++ b/Interfaces/English.lproj/Preferences.xib @@ -8,7 +8,7 @@ <string key="IBDocument.HIToolboxVersion">353.00</string> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="1174"/> + <integer value="400"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -3983,14 +3983,6 @@ AQAAAAA</bytes> <int key="connectionID">777</int> </object> <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">nameField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="415835787"/> - </object> - <int key="connectionID">778</int> - </object> - <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> <string key="label">contentArray: values.favorites</string> <reference key="source" ref="937123943"/> @@ -4493,22 +4485,6 @@ AQAAAAA</bytes> </object> <object class="IBConnectionRecord"> <object class="IBOutletConnection" key="connection"> - <string key="label">sshHostField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="905879958"/> - </object> - <int key="connectionID">1116</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">sshUserField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="1041581151"/> - </object> - <int key="connectionID">1117</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> <string key="label">delegate</string> <reference key="source" ref="905879958"/> <reference key="destination" ref="1001"/> @@ -4794,22 +4770,6 @@ AQAAAAA</bytes> </object> <object class="IBConnectionRecord"> <object class="IBOutletConnection" key="connection"> - <string key="label">sshSQLHostField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="619305072"/> - </object> - <int key="connectionID">1296</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">sshSQLUserField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="917213113"/> - </object> - <int key="connectionID">1297</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> <string key="label">sshSQLPasswordField</string> <reference key="source" ref="1001"/> <reference key="destination" ref="602383030"/> @@ -4850,14 +4810,6 @@ AQAAAAA</bytes> </object> <object class="IBConnectionRecord"> <object class="IBOutletConnection" key="connection"> - <string key="label">sshDatabaseField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="471638951"/> - </object> - <int key="connectionID">1303</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> <string key="label">delegate</string> <reference key="source" ref="119091130"/> <reference key="destination" ref="1001"/> @@ -4866,14 +4818,6 @@ AQAAAAA</bytes> </object> <object class="IBConnectionRecord"> <object class="IBOutletConnection" key="connection"> - <string key="label">socketUserField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="119091130"/> - </object> - <int key="connectionID">1305</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> <string key="label">delegate</string> <reference key="source" ref="340136489"/> <reference key="destination" ref="1001"/> @@ -4898,30 +4842,6 @@ AQAAAAA</bytes> </object> <object class="IBConnectionRecord"> <object class="IBOutletConnection" key="connection"> - <string key="label">socketDatabaseField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="634238753"/> - </object> - <int key="connectionID">1309</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">standardSQLHostField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="77492794"/> - </object> - <int key="connectionID">1310</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">standardUserField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="133134378"/> - </object> - <int key="connectionID">1311</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> <string key="label">standardPasswordField</string> <reference key="source" ref="1001"/> <reference key="destination" ref="755342553"/> @@ -4929,12 +4849,12 @@ AQAAAAA</bytes> <int key="connectionID">1312</int> </object> <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">standardDatabaseField</string> + <object class="IBActionConnection" key="connection"> + <string key="label">favoriteTypeDidChange:</string> <reference key="source" ref="1001"/> - <reference key="destination" ref="796172881"/> + <reference key="destination" ref="1065964214"/> </object> - <int key="connectionID">1313</int> + <int key="connectionID">1329</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -4952,18 +4872,20 @@ AQAAAAA</bytes> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> <string>NSAllowsEditingMultipleValuesSelection</string> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> <reference ref="6"/> + <reference ref="5"/> <string>no selection</string> </object> </object> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1314</int> + <int key="connectionID">1330</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -4981,18 +4903,20 @@ AQAAAAA</bytes> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> <string>NSAllowsEditingMultipleValuesSelection</string> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> <reference ref="6"/> + <reference ref="5"/> <string>no selection</string> </object> </object> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1315</int> + <int key="connectionID">1331</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5010,12 +4934,14 @@ AQAAAAA</bytes> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> <string>NSAllowsEditingMultipleValuesSelection</string> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> <string>NSNullPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> <reference ref="6"/> + <reference ref="5"/> <string>no selection</string> <string>optional</string> </object> @@ -5023,7 +4949,7 @@ AQAAAAA</bytes> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1316</int> + <int key="connectionID">1332</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5041,12 +4967,14 @@ AQAAAAA</bytes> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> <string>NSAllowsEditingMultipleValuesSelection</string> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> <string>NSNullPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> <reference ref="6"/> + <reference ref="5"/> <string>no selection</string> <string>3306</string> </object> @@ -5054,7 +4982,7 @@ AQAAAAA</bytes> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1317</int> + <int key="connectionID">1333</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5068,13 +4996,22 @@ AQAAAAA</bytes> <string key="NSBinding">value</string> <string key="NSKeyPath">selection.user</string> <object class="NSDictionary" key="NSOptions"> - <string key="NS.key.0">NSNoSelectionPlaceholder</string> - <string key="NS.object.0">no selection</string> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> + <string>NSNoSelectionPlaceholder</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> + <string>no selection</string> + </object> </object> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1318</int> + <int key="connectionID">1334</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5091,11 +5028,13 @@ AQAAAAA</bytes> <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> <string>NSNullPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> <string>no selection</string> <string>optional</string> </object> @@ -5103,7 +5042,7 @@ AQAAAAA</bytes> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1319</int> + <int key="connectionID">1335</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5120,11 +5059,13 @@ AQAAAAA</bytes> <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> <string>NSNullPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> <string>no selection</string> <string>optional</string> </object> @@ -5132,7 +5073,38 @@ AQAAAAA</bytes> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1320</int> + <int key="connectionID">1336</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBBindingConnection" key="connection"> + <string key="label">value: selection.name</string> + <reference key="source" ref="415835787"/> + <reference key="destination" ref="937123943"/> + <object class="NSNibBindingConnector" key="connector"> + <reference key="NSSource" ref="415835787"/> + <reference key="NSDestination" ref="937123943"/> + <string key="NSLabel">value: selection.name</string> + <string key="NSBinding">value</string> + <string key="NSKeyPath">selection.name</string> + <object class="NSDictionary" key="NSOptions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSAllowsEditingMultipleValuesSelection</string> + <string>NSContinuouslyUpdatesValue</string> + <string>NSNoSelectionPlaceholder</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="6"/> + <reference ref="5"/> + <string>no selection</string> + </object> + </object> + <int key="NSNibBindingConnectorVersion">2</int> + </object> + </object> + <int key="connectionID">1337</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5146,13 +5118,22 @@ AQAAAAA</bytes> <string key="NSBinding">value</string> <string key="NSKeyPath">selection.host</string> <object class="NSDictionary" key="NSOptions"> - <string key="NS.key.0">NSNoSelectionPlaceholder</string> - <string key="NS.object.0">no selection</string> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> + <string>NSNoSelectionPlaceholder</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> + <string>no selection</string> + </object> </object> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1321</int> + <int key="connectionID">1338</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5166,13 +5147,22 @@ AQAAAAA</bytes> <string key="NSBinding">value</string> <string key="NSKeyPath">selection.user</string> <object class="NSDictionary" key="NSOptions"> - <string key="NS.key.0">NSNoSelectionPlaceholder</string> - <string key="NS.object.0">no selection</string> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> + <string>NSNoSelectionPlaceholder</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> + <string>no selection</string> + </object> </object> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1322</int> + <int key="connectionID">1339</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5189,11 +5179,13 @@ AQAAAAA</bytes> <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> <string>NSNullPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> <string>no selection</string> <string>optional</string> </object> @@ -5201,7 +5193,7 @@ AQAAAAA</bytes> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1323</int> + <int key="connectionID">1340</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5218,11 +5210,13 @@ AQAAAAA</bytes> <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> <string>NSNullPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> <string>no selection</string> <string>3306</string> </object> @@ -5230,7 +5224,7 @@ AQAAAAA</bytes> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1324</int> + <int key="connectionID">1341</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5244,13 +5238,22 @@ AQAAAAA</bytes> <string key="NSBinding">value</string> <string key="NSKeyPath">selection.sshHost</string> <object class="NSDictionary" key="NSOptions"> - <string key="NS.key.0">NSNoSelectionPlaceholder</string> - <string key="NS.object.0">no selection</string> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> + <string>NSNoSelectionPlaceholder</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> + <string>no selection</string> + </object> </object> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1325</int> + <int key="connectionID">1342</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5264,13 +5267,22 @@ AQAAAAA</bytes> <string key="NSBinding">value</string> <string key="NSKeyPath">selection.sshUser</string> <object class="NSDictionary" key="NSOptions"> - <string key="NS.key.0">NSNoSelectionPlaceholder</string> - <string key="NS.object.0">no selection</string> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> + <string>NSNoSelectionPlaceholder</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> + <string>no selection</string> + </object> </object> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1326</int> + <int key="connectionID">1343</int> </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> @@ -5287,11 +5299,13 @@ AQAAAAA</bytes> <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSContinuouslyUpdatesValue</string> <string>NSNoSelectionPlaceholder</string> <string>NSNullPlaceholder</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="5"/> <string>no selection</string> <string>22</string> </object> @@ -5299,44 +5313,23 @@ AQAAAAA</bytes> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> - <int key="connectionID">1327</int> + <int key="connectionID">1344</int> </object> <object class="IBConnectionRecord"> - <object class="IBBindingConnection" key="connection"> - <string key="label">value: selection.name</string> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> <reference key="source" ref="415835787"/> - <reference key="destination" ref="937123943"/> - <object class="NSNibBindingConnector" key="connector"> - <reference key="NSSource" ref="415835787"/> - <reference key="NSDestination" ref="937123943"/> - <string key="NSLabel">value: selection.name</string> - <string key="NSBinding">value</string> - <string key="NSKeyPath">selection.name</string> - <object class="NSDictionary" key="NSOptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>NSAllowsEditingMultipleValuesSelection</string> - <string>NSNoSelectionPlaceholder</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="6"/> - <string>no selection</string> - </object> - </object> - <int key="NSNibBindingConnectorVersion">2</int> - </object> + <reference key="destination" ref="1065964214"/> </object> - <int key="connectionID">1328</int> + <int key="connectionID">1346</int> </object> <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">favoriteTypeDidChange:</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="1065964214"/> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="1065964214"/> + <reference key="destination" ref="77492794"/> </object> - <int key="connectionID">1329</int> + <int key="connectionID">1350</int> </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> @@ -8519,7 +8512,7 @@ AQAAAAA</bytes> </object> </object> <nil key="sourceID"/> - <int key="maxID">1329</int> + <int key="maxID">1350</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |