From 8a3267a14a21b4c01d05c25e3add0887233298c0 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 13 Oct 2009 14:43:04 +0000 Subject: =?UTF-8?q?=E2=80=A2=20changed=20Error=20Detail=20HUD=20window=20f?= =?UTF-8?q?or=20the=20connection=20manager=20slightly:=20-=20suppress=20sp?= =?UTF-8?q?ell=20checking=20-=20set=20left=20alignment=20-=20set=20a=20min?= =?UTF-8?q?imum=20window=20size=20-=20set=20font=20size=20to=2012pt=20(to?= =?UTF-8?q?=20make=20it=20easier=20to=20read)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Interfaces/English.lproj/ConnectionView.xib | 324 ++++++++++++++++------------ Source/SPConnectionController.m | 2 + 2 files changed, 187 insertions(+), 139 deletions(-) diff --git a/Interfaces/English.lproj/ConnectionView.xib b/Interfaces/English.lproj/ConnectionView.xib index cd529aa9..ae0d3504 100644 --- a/Interfaces/English.lproj/ConnectionView.xib +++ b/Interfaces/English.lproj/ConnectionView.xib @@ -1,13 +1,27 @@ - + 1050 - 9L30 - 677 - 949.54 - 353.00 + 10B504 + 732 + 1038.2 + 437.00 + + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.brandonwalkin.BWToolkit + + + YES + 732 + 1.2.1 + + YES + YES @@ -16,7 +30,7 @@ YES - + YES @@ -73,21 +87,21 @@ YES - 1.990000e+02 - 4.000000e+01 - 1.000000e+03 + 199 + 40 + 1000 - 75628032 - 0 + 75628096 + 2048 Favorites LucidaGrande - 1.100000e+01 + 11 3100 3 - MC4zMzMzMzI5OQA + MC4zMzMzMzI5ODU2AA 6 @@ -124,15 +138,15 @@ - 3.000000e+00 - 2.000000e+00 + 3 + 2 6 System _sourceListBackgroundColor 1 - MC44MzkyMTU3IDAuODY2NjY2NjcgMC44OTgwMzkyMgA + MC44MzkyMTU2OTU5IDAuODY2NjY2Njc0NiAwLjg5ODAzOTIyMTgAA @@ -144,21 +158,25 @@ MC41AA - 1.700000e+01 + 17 373293056 + + 5 15 0 YES 1 + 1 {202, 541} + 3 - MC44ODMwNjQ1MQA + MC44ODMwNjQ1MDg0AA 4 @@ -169,7 +187,7 @@ _doScroller: - 9.981481e-01 + 0.99814808368682861 @@ -179,11 +197,12 @@ 1 _doScroller: - 9.959016e-01 + 0.99590158462524414 {{0, 22}, {202, 541}} + 560 @@ -249,7 +268,7 @@ Enter connection details below, or choose a favorite LucidaGrande-Bold - 1.300000e+01 + 13 16 @@ -259,7 +278,7 @@ controlColor 3 - MC42NjY2NjY2OQA + MC42NjY2NjY2ODY1AA @@ -311,7 +330,7 @@ LucidaGrande - 1.300000e+01 + 13 1044 @@ -1139,8 +1158,8 @@ {{20, 7}, {16, 16}} 28938 - 1.600000e+01 - 1.000000e+02 + 16 + 100 @@ -1216,8 +1235,9 @@ NSPanel {3.40282e+38, 3.40282e+38} + {100, 100} - + 256 YES @@ -1246,7 +1266,7 @@ YES YES - + YES NSColor NSFont @@ -1254,13 +1274,13 @@ YES - + 1 - MC45MDE5NjA3OSAwLjkwMTk2MDc5IDAuOTAxOTYwNzkAA + MC45MDE5NjA3OTAyIDAuOTAxOTYwNzkwMiAwLjkwMTk2MDc5MDIAA LucidaGrande - 1.000000e+01 + 10 2843 @@ -1268,100 +1288,100 @@ YES - 0.000000e+00 + 0.0 - 5.600000e+01 + 56 - 1.120000e+02 + 112 - 1.680000e+02 + 168 - 2.240000e+02 + 224 - 2.800000e+02 + 280 - 3.360000e+02 + 336 - 3.920000e+02 + 392 - 4.480000e+02 + 448 - 5.040000e+02 + 504 - 5.600000e+02 + 560 - 6.160000e+02 + 616 - 6.720000e+02 + 672 - 7.280000e+02 + 728 - 7.840000e+02 + 784 - 8.400000e+02 + 840 - 8.960000e+02 + 896 - 9.520000e+02 + 952 - 1.008000e+03 + 1008 - 1.064000e+03 + 1064 - 1.120000e+03 + 1120 - 1.176000e+03 + 1176 - 1.232000e+03 + 1232 - 1.288000e+03 + 1288 - 1.344000e+03 + 1344 - 1.400000e+03 + 1400 - 1.456000e+03 + 1456 - 1.512000e+03 + 1512 - 1.568000e+03 + 1568 - 1.624000e+03 + 1624 - 1.680000e+03 + 1680 - 1.736000e+03 + 1736 @@ -1369,7 +1389,7 @@ YES - + YES NSColor NSFont @@ -1377,10 +1397,10 @@ YES - + LucidaGrande-Bold - 1.000000e+01 + 10 16 @@ -1437,16 +1457,17 @@ - 5.780000e+02 + 578 1 - 10983 + 10245 + 0 + - YES - + YES NSBackgroundColor NSColor @@ -1467,10 +1488,10 @@ - + YES - + YES NSColor NSUnderline @@ -1481,7 +1502,7 @@ 1 MCAwIDEAA - + @@ -1512,18 +1533,18 @@ 2 _doScroller: - 9.570552e-01 + 0.95705521106719971 - 256 + -2147483392 {{-100, -100}, {87, 18}} 1 _doScroller: - 1.000000e+00 - 9.456522e-01 + 1 + 0.94565218687057495 {{1, 20}, {578, 293}} @@ -1536,8 +1557,10 @@ {580, 320} + {{0, 0}, {1440, 878}} + {100, 119} {3.40282e+38, 3.40282e+38} @@ -1641,15 +1664,15 @@ host YES - + YES NSContinuouslyUpdatesValue NSValidatesImmediately YES - - + + 2 @@ -1670,7 +1693,7 @@ user NSContinuouslyUpdatesValue - + 2 @@ -1690,7 +1713,7 @@ password NSContinuouslyUpdatesValue - + 2 @@ -1710,7 +1733,7 @@ user NSContinuouslyUpdatesValue - + 2 @@ -1730,7 +1753,7 @@ password NSContinuouslyUpdatesValue - + 2 @@ -1750,7 +1773,7 @@ host NSContinuouslyUpdatesValue - + 2 @@ -1770,7 +1793,7 @@ user NSContinuouslyUpdatesValue - + 2 @@ -1790,7 +1813,7 @@ password NSContinuouslyUpdatesValue - + 2 @@ -1810,7 +1833,7 @@ sshHost NSContinuouslyUpdatesValue - + 2 @@ -1830,7 +1853,7 @@ sshUser NSContinuouslyUpdatesValue - + 2 @@ -2042,14 +2065,14 @@ name YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional @@ -2087,14 +2110,14 @@ name YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional @@ -2116,14 +2139,14 @@ database YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional @@ -2145,14 +2168,14 @@ database YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional @@ -2182,14 +2205,14 @@ socket YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional @@ -2211,14 +2234,14 @@ name YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional @@ -2240,14 +2263,14 @@ database YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional @@ -2269,14 +2292,14 @@ port YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + 3306 @@ -2298,14 +2321,14 @@ port YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + 3306 @@ -2327,14 +2350,14 @@ sshPort YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + 22 @@ -2468,14 +2491,14 @@ sshPassword YES - + YES NSContinuouslyUpdatesValue NSNullPlaceholder YES - + optional if public key is available @@ -2492,15 +2515,29 @@ 5458 + + + delegate + + + + 5461 + + + + delegate + + + + 5462 + YES 0 - - YES - + @@ -2524,7 +2561,7 @@ -2 - RmlsZSdzIE93bmVyA + File's Owner -3 @@ -3509,10 +3546,8 @@ YES - + YES - -1.IBPluginDependency - -2.IBPluginDependency -3.IBPluginDependency -3.ImportedFromIB2 4826.IBEditorWindowLastContentRect @@ -3667,28 +3702,30 @@ 5423.IBPluginDependency 5424.IBPluginDependency 5431.IBEditorWindowLastContentRect + 5431.IBPluginDependency 5431.IBWindowTemplateEditedContentRect 5431.NSWindowTemplate.visibleAtLaunch 5431.editorWindowContentRectSynchronizationRect 5431.windowTemplate.hasMaxSize + 5431.windowTemplate.hasMinSize 5431.windowTemplate.maxSize + 5431.windowTemplate.minSize 5432.IBPluginDependency 5433.IBPluginDependency 5434.IBPluginDependency 5435.IBPluginDependency 5436.IBPluginDependency 5447.IBPluginDependency + 5455.IBPluginDependency YES com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + {{133, 169}, {882, 563}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3723,7 +3760,7 @@ ToolTip - QWRkIHRvIEZhdm9yaXRlcyAo4oyl4oyYQSk + Add to Favorites (⌥⌘A) com.apple.InterfaceBuilder.CocoaPlugin @@ -3960,7 +3997,7 @@ ToolTip - RWRpdCBGYXZvcml0ZXMgaW4gUHJlZmVyZW5jZXMgKOKMpeKMmEUpA + Edit Favorites in Preferences (⌥⌘E) com.brandonwalkin.BWToolkit @@ -4004,25 +4041,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{541, 469}, {580, 320}} - {{541, 469}, {580, 320}} - + {{376, 640}, {580, 320}} + com.apple.InterfaceBuilder.CocoaPlugin + {{376, 640}, {580, 320}} + {{115, 214}, {588, 350}} - + + {3.40282e+38, 3.40282e+38} + {100, 100} com.apple.InterfaceBuilder.CocoaPlugin com.brandonwalkin.BWToolkit com.brandonwalkin.BWToolkit com.brandonwalkin.BWToolkit com.brandonwalkin.BWToolkit com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin YES - - YES - + YES @@ -4030,15 +4069,13 @@ YES - - YES - + YES - 5458 + 5462 @@ -4101,7 +4138,7 @@ NSTextView YES - + YES doDecomposedStringWithCanonicalMapping: doDecomposedStringWithCompatibilityMapping: @@ -4151,7 +4188,7 @@ NSObject YES - + YES addFavorite: editFavorites: @@ -4170,7 +4207,7 @@ YES - + YES addToFavoritesButton connectButton @@ -4239,7 +4276,7 @@ NSObject YES - + YES addFavorite: editFavorites: @@ -4258,7 +4295,7 @@ YES - + YES addToFavoritesButton connectButton @@ -4317,6 +4354,15 @@ 0 + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES ../../sequel-pro.xcodeproj 3 diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 9abf8930..3eed2c83 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -415,6 +415,8 @@ } if (returnCode == NSAlertAlternateReturn) { + [errorDetailText setFont:[NSFont userFontOfSize:12]]; + [errorDetailText setAlignment:NSLeftTextAlignment]; [errorDetailWindow makeKeyAndOrderFront:self]; } // Currently only SSH port bind errors offer a 3rd option in the error dialog, but if this ever changes -- cgit v1.2.3