From 46d0d07d23f3b8773d63cd5fa2275fbef6ec49ba Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Thu, 11 Jun 2009 09:32:02 +0000 Subject: - Rename the preference pane 'Alerts' to 'Alerts & Logs'. - Move the new disable query logging to the 'Alerts & Logs' pane. - Hide the display of the new 'Shortcuts' toolbar item. --- Interfaces/English.lproj/Console.xib | 2 +- Interfaces/English.lproj/Preferences.xib | 112 ++++++++++++++++--------------- Source/SPPreferenceController.m | 6 +- 3 files changed, 63 insertions(+), 57 deletions(-) diff --git a/Interfaces/English.lproj/Console.xib b/Interfaces/English.lproj/Console.xib index 810fe19c..4ca7989c 100644 --- a/Interfaces/English.lproj/Console.xib +++ b/Interfaces/English.lproj/Console.xib @@ -461,7 +461,7 @@ 290 - {{67, 5}, {375, 14}} + {{67, 4}, {375, 14}} YES diff --git a/Interfaces/English.lproj/Preferences.xib b/Interfaces/English.lproj/Preferences.xib index 78716f44..8b5074fc 100644 --- a/Interfaces/English.lproj/Preferences.xib +++ b/Interfaces/English.lproj/Preferences.xib @@ -8,6 +8,7 @@ 353.00 YES + @@ -60,7 +61,7 @@ 268 - {{151, 141}, {254, 26}} + {{151, 121}, {254, 26}} YES @@ -387,7 +388,7 @@ 268 - {{152, 188}, {209, 18}} + {{152, 168}, {209, 18}} YES @@ -414,7 +415,7 @@ 268 - {{40, 216}, {108, 17}} + {{40, 196}, {108, 17}} YES @@ -446,7 +447,7 @@ 268 - {{151, 210}, {254, 26}} + {{151, 190}, {254, 26}} YES @@ -478,7 +479,7 @@ 268 - {{33, 147}, {116, 17}} + {{33, 127}, {116, 17}} YES @@ -494,7 +495,7 @@ 268 - {{152, 102}, {166, 18}} + {{152, 82}, {166, 18}} YES @@ -516,7 +517,7 @@ 268 - {{152, 82}, {254, 18}} + {{152, 62}, {254, 18}} YES @@ -538,7 +539,7 @@ 12 - {{154, 176}, {326, 5}} + {{154, 156}, {326, 5}} {0, 0} @@ -568,7 +569,7 @@ 12 - {{154, 128}, {326, 5}} + {{154, 108}, {326, 5}} {0, 0} @@ -719,30 +720,8 @@ - - - 268 - {{152, 62}, {300, 18}} - - YES - - 67239424 - 0 - Log all query activity to the console (slower) - - - 1211912703 - 130 - - - - - 200 - 25 - - - {500, 254} + {500, 234} NSView @@ -1793,14 +1772,14 @@ NSView - + 268 YES 268 - {{152, 18}, {187, 18}} + {{152, 41}, {187, 18}} YES @@ -1822,7 +1801,7 @@ 12 - {{154, 44}, {326, 5}} + {{154, 67}, {326, 5}} {0, 0} @@ -1844,7 +1823,7 @@ 268 - {{152, 57}, {261, 18}} + {{152, 80}, {261, 18}} YES @@ -1863,8 +1842,31 @@ 25 + + + 268 + {{152, 18}, {300, 18}} + + YES + + 67239424 + 0 + Log all query activity to the console (slower) + + + 1211912703 + 130 + + + + + 200 + 25 + + - {500, 93} + {500, 116} + NSView @@ -2872,6 +2874,10 @@ AQAAAAA NSView + + YES + ConsoleEnableLogging + YES @@ -4488,10 +4494,10 @@ AQAAAAA value: values.ConsoleEnableLogging - + - + value: values.ConsoleEnableLogging value @@ -4499,7 +4505,7 @@ AQAAAAA 2 - 1142 + 1145 @@ -4564,7 +4570,6 @@ AQAAAAA - General @@ -4747,6 +4752,7 @@ AQAAAAA + Notifications @@ -6293,18 +6299,18 @@ AQAAAAA - 1137 - + 1143 + YES - + - + - 1138 - - + 1144 + + @@ -6381,8 +6387,8 @@ AQAAAAA 1127.IBPluginDependency 1128.IBPluginDependency 1129.IBPluginDependency - 1137.IBPluginDependency - 1138.IBPluginDependency + 1143.IBPluginDependency + 1144.IBPluginDependency 117.IBPluginDependency 17.IBEditorWindowLastContentRect 17.IBPluginDependency @@ -6725,7 +6731,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{408, 272}, {500, 254}} + {{408, 292}, {500, 234}} com.apple.InterfaceBuilder.CocoaPlugin YES @@ -6952,7 +6958,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{416, 308}, {500, 93}} + {{412, 170}, {500, 116}} com.apple.InterfaceBuilder.CocoaPlugin YES @@ -7125,7 +7131,7 @@ AQAAAAA - 1142 + 1145 diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m index 0d77a63f..808e863c 100644 --- a/Source/SPPreferenceController.m +++ b/Source/SPPreferenceController.m @@ -891,7 +891,7 @@ // Notification preferences notificationsItem = [[NSToolbarItem alloc] initWithItemIdentifier:PREFERENCE_TOOLBAR_NOTIFICATIONS]; - [notificationsItem setLabel:NSLocalizedString(@"Alerts", @"")]; + [notificationsItem setLabel:NSLocalizedString(@"Alerts & Logs", @"")]; [notificationsItem setImage:[NSImage imageNamed:@"toolbar-preferences-notifications"]]; [notificationsItem setTarget:self]; [notificationsItem setAction:@selector(displayNotificationPreferences:)]; @@ -905,12 +905,12 @@ [editorItem setAction:@selector(displayEditorPreferences:)]; // Shortcut preferences - shortcutItem = [[NSToolbarItem alloc] initWithItemIdentifier:PREFERENCE_TOOLBAR_SHORTCUTS]; + /*shortcutItem = [[NSToolbarItem alloc] initWithItemIdentifier:PREFERENCE_TOOLBAR_SHORTCUTS]; [shortcutItem setLabel:NSLocalizedString(@"Shortcuts", @"")]; [shortcutItem setImage:[NSImage imageNamed:@"toolbar-preferences-shortcuts"]]; [shortcutItem setTarget:self]; - [shortcutItem setAction:@selector(NSBeep)]; + [shortcutItem setAction:@selector(NSBeep)];*/ // AutoUpdate preferences autoUpdateItem = [[NSToolbarItem alloc] initWithItemIdentifier:PREFERENCE_TOOLBAR_AUTOUPDATE]; -- cgit v1.2.3