aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Resources/English.lproj/Localizable.stringsbin242972 -> 242950 bytes
-rw-r--r--Source/SPComboPopupButton.m2
-rw-r--r--Source/SPCustomQuery.m7
3 files changed, 4 insertions, 5 deletions
diff --git a/Resources/English.lproj/Localizable.strings b/Resources/English.lproj/Localizable.strings
index 11f7fa38..6edb7d1f 100644
--- a/Resources/English.lproj/Localizable.strings
+++ b/Resources/English.lproj/Localizable.strings
Binary files differ
diff --git a/Source/SPComboPopupButton.m b/Source/SPComboPopupButton.m
index 76280dac..9ee71084 100644
--- a/Source/SPComboPopupButton.m
+++ b/Source/SPComboPopupButton.m
@@ -283,7 +283,7 @@
// Custom tracking to be performed - indent the vertical button area slightly
- activeRect = NSMakeRect(cellFrame.origin.x, cellFrame.origin.y + heightIndent, cellFrame.size.width, cellFrame.size.height - fabsf(2 * heightIndent));
+ activeRect = NSMakeRect(cellFrame.origin.x, cellFrame.origin.y + heightIndent, cellFrame.size.width - [(SPComboPopupButton *)controlView lineOffset] + 1, cellFrame.size.height - fabsf(2 * heightIndent));
// Continue tracking the mouse while it's down, updating the state as it enters and leaves the cell,
// until it is released; if still within the cell, perform a click.
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 26f66831..083c676e 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -1384,7 +1384,6 @@
*/
- (void)updateQueryInteractionInterface
{
- NSString *runAllTitle = NSLocalizedString(@"Run All Queries", @"Run All button and menu item title");
// By default, the interface uses Run Query/Run Selection as the primary interface,
// but the user can switch this.
@@ -1393,11 +1392,11 @@
// Update the links as appropriate
if (primaryActionIsRunAll) {
runPrimaryActionButtonAsSelection = nil;
- [runPrimaryActionButton setTitle:runAllTitle];
- [runPrimaryActionMenuItem setTitle:runAllTitle];
+ [runPrimaryActionButton setTitle:NSLocalizedString(@"Run All", @"run all button")];
+ [runPrimaryActionMenuItem setTitle:NSLocalizedString(@"Run All Queries", @"Run All menu item title")];
} else {
runPrimaryActionButtonAsSelection = runPrimaryActionButton;
- [runSecondaryActionMenuItem setTitle:runAllTitle];
+ [runSecondaryActionMenuItem setTitle:NSLocalizedString(@"Run All Queries", @"Run All menu item title")];
}
// Update the Run Current/Previous/Selection menu item (and button if appropriate)