From ba53d971b598247500e93a665b4cdb0526a36a50 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 6 Jul 2009 13:08:07 +0000 Subject: - Fix favorites text fields resizing in prefs window - Correctly select Structure view after connection --- Interfaces/English.lproj/Preferences.xib | 114 ++++++++++++++----------------- Source/TableDocument.m | 3 +- 2 files changed, 52 insertions(+), 65 deletions(-) diff --git a/Interfaces/English.lproj/Preferences.xib b/Interfaces/English.lproj/Preferences.xib index 79306df8..78dde430 100644 --- a/Interfaces/English.lproj/Preferences.xib +++ b/Interfaces/English.lproj/Preferences.xib @@ -8,7 +8,7 @@ 353.00 YES - + YES @@ -724,7 +724,7 @@ NSView - + 268 YES @@ -733,7 +733,6 @@ 268 {{152, 181}, {123, 18}} - YES 67239424 @@ -756,7 +755,6 @@ 268 {{28, 220}, {120, 17}} - YES 67239488 @@ -773,7 +771,6 @@ 268 {{374, 67}, {38, 17}} - YES 67239488 @@ -790,7 +787,6 @@ 268 {{152, 221}, {106, 18}} - YES -2080244224 @@ -813,7 +809,6 @@ 268 {{152, 66}, {115, 18}} - YES 67239424 @@ -836,7 +831,6 @@ 268 {{152, 201}, {105, 18}} - YES -2080244224 @@ -859,7 +853,6 @@ 268 {{353, 61}, {19, 27}} - YES 917024 @@ -878,7 +871,6 @@ 268 {{273, 64}, {75, 22}} - YES -1804468672 @@ -947,7 +939,6 @@ 268 {{17, 22}, {131, 17}} - YES 68288064 @@ -964,7 +955,6 @@ 268 {{154, 20}, {75, 22}} - YES -1804468671 @@ -983,7 +973,6 @@ 268 {{152, 141}, {297, 18}} - YES 67239424 @@ -1006,7 +995,6 @@ 268 {{152, 121}, {225, 18}} - YES 67239424 @@ -1029,7 +1017,6 @@ 12 {{154, 167}, {326, 5}} - {0, 0} 67239424 @@ -1052,7 +1039,6 @@ 12 {{154, 92}, {326, 5}} - {0, 0} 67239424 @@ -1075,7 +1061,6 @@ 12 {{154, 53}, {326, 5}} - {0, 0} 67239424 @@ -1098,7 +1083,6 @@ 268 {{152, 101}, {206, 18}} - YES -2080244224 @@ -1118,8 +1102,6 @@ {500, 259} - - NSView @@ -1384,7 +1366,7 @@ YES - 12 + 266 {{-7, 34}, {322, 282}} @@ -1392,14 +1374,14 @@ 1 - + 256 YES - 268 - {{119, 153}, {170, 19}} + 266 + {{119, 153}, {135, 19}} YES @@ -1416,8 +1398,8 @@ - 268 - {{119, 180}, {170, 19}} + 266 + {{119, 180}, {135, 19}} YES @@ -1437,8 +1419,8 @@ - 268 - {{119, 207}, {170, 19}} + 266 + {{119, 207}, {135, 19}} YES @@ -1454,8 +1436,8 @@ - 268 - {{119, 126}, {170, 19}} + 266 + {{119, 126}, {135, 19}} YES @@ -1472,8 +1454,8 @@ - 268 - {{119, 234}, {170, 19}} + 266 + {{119, 234}, {135, 19}} YES @@ -1569,6 +1551,7 @@ {{10, 7}, {287, 262}} + Standard @@ -1583,8 +1566,8 @@ YES - 268 - {{119, 180}, {170, 19}} + 266 + {{119, 180}, {135, 19}} YES @@ -1601,8 +1584,8 @@ - 268 - {{119, 207}, {170, 19}} + 266 + {{119, 207}, {135, 19}} YES @@ -1622,8 +1605,8 @@ - 268 - {{119, 153}, {170, 19}} + 266 + {{119, 153}, {135, 19}} YES @@ -1640,8 +1623,8 @@ - 268 - {{119, 234}, {170, 19}} + 266 + {{119, 234}, {135, 19}} YES @@ -1729,14 +1712,14 @@ Item 2 - + 256 YES - 268 - {{119, 59}, {170, 19}} + 266 + {{119, 59}, {135, 19}} YES @@ -1752,8 +1735,8 @@ - 268 - {{119, 33}, {170, 19}} + 266 + {{119, 33}, {135, 19}} YES @@ -1769,8 +1752,8 @@ - 268 - {{119, 85}, {170, 19}} + 266 + {{119, 85}, {135, 19}} YES @@ -1786,8 +1769,8 @@ - 268 - {{119, 7}, {170, 19}} + 266 + {{119, 7}, {135, 19}} YES @@ -1868,8 +1851,8 @@ - 268 - {{119, 153}, {170, 19}} + 266 + {{119, 153}, {135, 19}} YES @@ -1886,8 +1869,8 @@ - 268 - {{119, 180}, {170, 19}} + 266 + {{119, 180}, {135, 19}} YES @@ -1907,8 +1890,8 @@ - 268 - {{119, 207}, {170, 19}} + 266 + {{119, 207}, {135, 19}} YES @@ -1924,8 +1907,8 @@ - 268 - {{119, 126}, {170, 19}} + 266 + {{119, 126}, {135, 19}} YES @@ -1942,8 +1925,8 @@ - 268 - {{119, 234}, {170, 19}} + 266 + {{119, 234}, {135, 19}} YES @@ -2039,20 +2022,19 @@ {{10, 7}, {287, 262}} - SSH - + 134217731 YES YES - + @@ -2090,7 +2072,7 @@ - 268 + 266 {{109, 313}, {176, 22}} YES @@ -6931,7 +6913,6 @@ AQAAAAA YES - @@ -6941,6 +6922,7 @@ AQAAAAA + @@ -7661,6 +7643,8 @@ AQAAAAA 1172.IBPluginDependency 1173.IBPluginDependency 1174.IBPluginDependency + 1175.IBPluginDependency + 1176.IBPluginDependency 1180.IBPluginDependency 1181.IBPluginDependency 1182.IBEditorWindowLastContentRect @@ -8080,6 +8064,8 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin {{678, 501}, {167, 54}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 292aa884..1df0698a 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -172,7 +172,8 @@ [self setFileName:[NSString stringWithFormat:@"(MySQL %@) %@@%@ %@", mySQLVersion, [self user], [self host], [self database]]]; [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@/%@", mySQLVersion, [self name], ([self database]?[self database]:@"")]]; - + [self viewStructure:self]; + // Connected Growl notification [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Connected" description:[NSString stringWithFormat:NSLocalizedString(@"Connected to %@",@"description for connected growl notification"), [tableWindow title]] -- cgit v1.2.3