diff options
-rw-r--r-- | Interfaces/English.lproj/ContentPaginationView.xib | 27 | ||||
-rw-r--r-- | Interfaces/English.lproj/DBView.xib | 7 | ||||
-rw-r--r-- | Source/TableContent.m | 4 | ||||
-rw-r--r-- | sequel-pro.xcodeproj/project.pbxproj | 2 |
4 files changed, 23 insertions, 17 deletions
diff --git a/Interfaces/English.lproj/ContentPaginationView.xib b/Interfaces/English.lproj/ContentPaginationView.xib index 43977acc..2a311b24 100644 --- a/Interfaces/English.lproj/ContentPaginationView.xib +++ b/Interfaces/English.lproj/ContentPaginationView.xib @@ -12,7 +12,7 @@ </object> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="2"/> + <integer value="1"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -104,7 +104,7 @@ </object> </object> <string key="NS.positiveformat">#,##1</string> - <string key="NS.negativeformat">#,##0</string> + <string key="NS.negativeformat">#,##1</string> <nil key="NS.positiveattrs"/> <nil key="NS.negativeattrs"/> <nil key="NS.zero"/> @@ -403,6 +403,13 @@ <bytes key="NSWhite">MC45NDc1ODA2NDUyAA</bytes> </object> </object> + <object class="NSCustomView" id="298938363"> + <reference key="NSNextResponder" ref="1005"/> + <int key="NSvFlags">301</int> + <string key="NSFrameSize">{278, 135}</string> + <reference key="NSSuperview" ref="1005"/> + <string key="NSClassName">NSButton</string> + </object> </object> <string key="NSFrameSize">{278, 135}</string> <reference key="NSSuperview"/> @@ -410,12 +417,6 @@ <string key="NSClassName">NSView</string> </object> <object class="NSUserDefaultsController" id="763599508"> - <object class="NSMutableArray" key="NSDeclaredKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>LimitResults</string> - <string>LimitResultsValue</string> - <string>LoadBlobsAsNeeded</string> - </object> <bool key="NSSharedInstance">YES</bool> </object> </object> @@ -656,6 +657,7 @@ <object class="NSMutableArray" key="children"> <bool key="EncodedWithXMLCoder">YES</bool> <reference ref="323537221"/> + <reference ref="298938363"/> </object> <reference key="parent" ref="0"/> </object> @@ -822,6 +824,11 @@ <reference key="object" ref="763599508"/> <reference key="parent" ref="0"/> </object> + <object class="IBObjectRecord"> + <int key="objectID">52</int> + <reference key="object" ref="298938363"/> + <reference key="parent" ref="1005"/> + </object> </object> </object> <object class="NSMutableDictionary" key="flattenedProperties"> @@ -852,6 +859,7 @@ <string>3.IBPluginDependency</string> <string>4.IBPluginDependency</string> <string>5.IBPluginDependency</string> + <string>52.IBPluginDependency</string> <string>6.IBPluginDependency</string> <string>7.IBPluginDependency</string> <string>8.IBPluginDependency</string> @@ -887,6 +895,7 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> </object> </object> <object class="NSMutableDictionary" key="unlocalizedProperties"> @@ -905,7 +914,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">51</int> + <int key="maxID">52</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index bae3ce00..fe22ea72 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -10716,7 +10716,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string> <string key="NSClassName">NSView</string> </object> <object class="NSCustomView" id="456635389"> - <reference key="NSNextResponder"/> + <nil key="NSNextResponder"/> <int key="NSvFlags">4364</int> <object class="NSMutableArray" key="NSSubviews"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -10725,7 +10725,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string> <int key="NSvFlags">268</int> <string key="NSFrame">{{20, 1}, {176, 19}}</string> <reference key="NSSuperview" ref="456635389"/> - <reference key="NSWindow"/> <bool key="NSEnabled">YES</bool> <object class="NSSearchFieldCell" key="NSCell" id="292622292"> <int key="NSCellFlags">343014976</int> @@ -10787,8 +10786,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string> </object> </object> <string key="NSFrameSize">{217, 20}</string> - <reference key="NSSuperview"/> - <reference key="NSWindow"/> <string key="NSClassName">NSView</string> </object> <object class="NSUserDefaultsController" id="461189245"> @@ -23932,7 +23929,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string> <object class="IBToolTipAttribute" key="NS.object.0"> <string key="name">ToolTip</string> <reference key="object" ref="924091760"/> - <string key="toolTip">View next row of results</string> + <string key="toolTip">View next page of results</string> </object> </object> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> diff --git a/Source/TableContent.m b/Source/TableContent.m index d3988cef..679f8e1c 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -1136,7 +1136,9 @@ // Update the pagination button text if ([prefs boolForKey:SPLimitResults]) { - if (isFiltered) { + if (maxPage <= 1) { + [paginationButton setTitle:@""]; + } else if (isFiltered) { [paginationButton setTitle:[NSString stringWithFormat:NSLocalizedString(@"Page %@", @"Filtered pagination button status text"), [numberFormatter stringFromNumber:[NSNumber numberWithUnsignedInteger:contentPage]]]]; } else { [paginationButton setTitle:[NSString stringWithFormat:NSLocalizedString(@"Page %@ of %@", @"Pagination button status text"), [numberFormatter stringFromNumber:[NSNumber numberWithUnsignedInteger:contentPage]], [numberFormatter stringFromNumber:[NSNumber numberWithUnsignedInteger:maxPage]]]]; diff --git a/sequel-pro.xcodeproj/project.pbxproj b/sequel-pro.xcodeproj/project.pbxproj index 75b8063f..7dc7acc4 100644 --- a/sequel-pro.xcodeproj/project.pbxproj +++ b/sequel-pro.xcodeproj/project.pbxproj @@ -27,7 +27,6 @@ 1792C13710AD75C800ABE758 /* SPServerVariablesController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1792C13610AD75C800ABE758 /* SPServerVariablesController.m */; }; 1792C26110AE1A2D00ABE758 /* SPConnectionDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1792C26010AE1A2D00ABE758 /* SPConnectionDelegate.m */; }; 179F15060F7C433C00579954 /* SPEditorTokens.l in Sources */ = {isa = PBXBuildFile; fileRef = 179F15050F7C433C00579954 /* SPEditorTokens.l */; }; - 17A66F6B10B1ED59004C9B12 /* old-appicon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 17A66F6A10B1ED59004C9B12 /* old-appicon.icns */; }; 17B7B578101601C300F057DE /* libmysqlclient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 17B7B576101601C300F057DE /* libmysqlclient.a */; }; 17B7B5901016028F00F057DE /* libcrypto.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 17B7B58F1016028F00F057DE /* libcrypto.dylib */; }; 17B7B592101602AE00F057DE /* libssl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 17B7B591101602AE00F057DE /* libssl.dylib */; }; @@ -1719,7 +1718,6 @@ 582A05A9108A5CCF0027D42B /* ProgressIndicatorLayer.xib in Resources */, 174CE11E10AB80B5008F892B /* DatabaseProcessList.xib in Resources */, 1792C13210AD752100ABE758 /* DatabaseServerVariables.xib in Resources */, - 17A66F6B10B1ED59004C9B12 /* old-appicon.icns in Resources */, 17CC97F710B4AC6C0034CD7A /* AboutPanel.xib in Resources */, 17CC993B10B4C9C80034CD7A /* License.rtf in Resources */, 58C3506510B9A56C00D37E14 /* button_left.png in Resources */, |