diff options
author | stuconnolly <stuart02@gmail.com> | 2010-03-18 00:34:29 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-03-18 00:34:29 +0000 |
commit | a8dc3ac2af642fb59c8fbed12c3a28038ef3a175 (patch) | |
tree | f3a9e068aeb9fbf5497a2d968539cbd19fc5ffda /Source/SPConstants.h | |
parent | 5b6e0e9760c7719456de1ac856daf27e509a42d3 (diff) | |
download | sequelpro-a8dc3ac2af642fb59c8fbed12c3a28038ef3a175.tar.gz sequelpro-a8dc3ac2af642fb59c8fbed12c3a28038ef3a175.tar.bz2 sequelpro-a8dc3ac2af642fb59c8fbed12c3a28038ef3a175.zip |
Present a warning to the user when attempting to print the current table's content view which exceeds a set number of rows. This number is currently set to 1000 which can be changed via the hidden preference key 'PrintWarningRowLimit'. The approach to cancelling the print HTML generation thread may also need to be re-implemented to ensure that it is killed straight away, something that is currently not possible using NSThread. Rowan suggested using pthreads instead, but this should be discussed in terms of potential memory leaks and stability.
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r-- | Source/SPConstants.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h index a7409ebc..0843a79c 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -89,7 +89,6 @@ extern NSString *SPDefaultEncoding; extern NSString *SPUseMonospacedFonts; extern NSString *SPDisplayTableViewVerticalGridlines; extern NSString *SPCustomQueryMaxHistoryItems; -extern NSString *SPDisplayServerVersionInWindowTitle; // Tables Prefpane extern NSString *SPReloadAfterAddingRow; @@ -156,6 +155,10 @@ extern NSString *SPEditInSheetEnabled; extern NSString *SPTableInformationPanelCollapsed; extern NSString *SPTableColumnWidths; +// Hidden Prefs +extern NSString *SPPrintWarningRowLimit; +extern NSString *SPDisplayServerVersionInWindowTitle; + // Import extern NSString *SPCSVImportFieldTerminator; extern NSString *SPCSVImportLineTerminator; |