aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-03-28 14:11:40 +0000
committerrowanbeentje <rowan@beent.je>2009-03-28 14:11:40 +0000
commit132bff0b6ef32f16bfd5ea8313fb1e9051a3027d (patch)
treeea640936954f2530272b6444c795afe6044f9dfe
parent7869b1fb325a9f761dc896b2be5b84be8b4d8f74 (diff)
downloadsequelpro-132bff0b6ef32f16bfd5ea8313fb1e9051a3027d.tar.gz
sequelpro-132bff0b6ef32f16bfd5ea8313fb1e9051a3027d.tar.bz2
sequelpro-132bff0b6ef32f16bfd5ea8313fb1e9051a3027d.zip
Restore the ability to reorder columns in the Content view, as a temporary way of altering the displayed information for display purposes only (addresses Issue #153). I've reviewed code which works with the table columns and we're still correctly using identifers rather than indices everywhere (even in new code!). Filtering and paginating keeps the columns as reordered, refreshing restores them - seems reasonable.
-rw-r--r--Interfaces/English.lproj/DBView.xib28
1 files changed, 27 insertions, 1 deletions
diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib
index 4ec23ced..4c7faccb 100644
--- a/Interfaces/English.lproj/DBView.xib
+++ b/Interfaces/English.lproj/DBView.xib
@@ -2003,7 +2003,7 @@
<reference key="NSBackgroundColor" ref="1024678221"/>
<reference key="NSGridColor" ref="864903678"/>
<double key="NSRowHeight">1.600000e+01</double>
- <int key="NSTvFlags">1524629504</int>
+ <int key="NSTvFlags">-622854144</int>
<int key="NSColumnAutoresizingStyle">0</int>
<int key="NSDraggingSourceMaskForLocal">15</int>
<int key="NSDraggingSourceMaskForNonLocal">0</int>
@@ -3887,6 +3887,7 @@
</object>
<string key="NSFrame">{{1, 17}, {213, 157}}</string>
<reference key="NSSuperview" ref="112292194"/>
+ <reference key="NSNextKeyView" ref="158332213"/>
<reference key="NSDocView" ref="158332213"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -3919,6 +3920,7 @@
</object>
<string key="NSFrame">{{1, 0}, {213, 17}}</string>
<reference key="NSSuperview" ref="112292194"/>
+ <reference key="NSNextKeyView" ref="975843240"/>
<reference key="NSDocView" ref="975843240"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -3927,6 +3929,7 @@
</object>
<string key="NSFrame">{{12, 34}, {215, 175}}</string>
<reference key="NSSuperview" ref="781284031"/>
+ <reference key="NSNextKeyView" ref="131927425"/>
<int key="NSsFlags">562</int>
<reference key="NSVScroller" ref="785468991"/>
<reference key="NSHScroller" ref="710690013"/>
@@ -4470,6 +4473,7 @@
</object>
<string key="NSFrameSize">{588, 316}</string>
<reference key="NSSuperview" ref="541887300"/>
+ <reference key="NSNextKeyView" ref="798764405"/>
<reference key="NSDocView" ref="798764405"/>
<object class="NSColor" key="NSBGColor">
<int key="NSColorSpace">1</int>
@@ -4501,6 +4505,7 @@
</object>
<string key="NSFrame">{{0, 34}, {588, 316}}</string>
<reference key="NSSuperview" ref="661948784"/>
+ <reference key="NSNextKeyView" ref="593223452"/>
<int key="NSsFlags">528</int>
<reference key="NSVScroller" ref="142711676"/>
<reference key="NSHScroller" ref="705947940"/>
@@ -5130,6 +5135,7 @@
</object>
<string key="NSFrame">{{1, 1}, {574, 293}}</string>
<reference key="NSSuperview" ref="1020679422"/>
+ <reference key="NSNextKeyView" ref="1011820278"/>
<reference key="NSDocView" ref="1011820278"/>
<reference key="NSBGColor" ref="449903125"/>
<reference key="NSCursor" ref="32917531"/>
@@ -5159,6 +5165,7 @@
</object>
<string key="NSFrame">{{20, 20}, {587, 295}}</string>
<reference key="NSSuperview" ref="375414526"/>
+ <reference key="NSNextKeyView" ref="134546146"/>
<int key="NSsFlags">18</int>
<reference key="NSVScroller" ref="435247014"/>
<reference key="NSHScroller" ref="767953750"/>
@@ -5502,6 +5509,7 @@
</object>
<string key="NSFrame">{{1, 1}, {352, 178}}</string>
<reference key="NSSuperview" ref="972781700"/>
+ <reference key="NSNextKeyView" ref="347971361"/>
<reference key="NSDocView" ref="347971361"/>
<reference key="NSBGColor" ref="449903125"/>
<reference key="NSCursor" ref="32917531"/>
@@ -5531,6 +5539,7 @@
</object>
<string key="NSFrame">{{20, 45}, {365, 180}}</string>
<reference key="NSSuperview" ref="860968037"/>
+ <reference key="NSNextKeyView" ref="158897172"/>
<int key="NSsFlags">18</int>
<reference key="NSVScroller" ref="84024470"/>
<reference key="NSHScroller" ref="761598270"/>
@@ -5771,6 +5780,7 @@
</object>
<string key="NSFrame">{{1, 17}, {423, 141}}</string>
<reference key="NSSuperview" ref="1041893843"/>
+ <reference key="NSNextKeyView" ref="134631251"/>
<reference key="NSDocView" ref="134631251"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">6</int>
@@ -5804,6 +5814,7 @@
</object>
<string key="NSFrame">{{1, 0}, {423, 17}}</string>
<reference key="NSSuperview" ref="1041893843"/>
+ <reference key="NSNextKeyView" ref="568493807"/>
<reference key="NSDocView" ref="568493807"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -5812,6 +5823,7 @@
</object>
<string key="NSFrame">{{20, 45}, {425, 159}}</string>
<reference key="NSSuperview" ref="1024486775"/>
+ <reference key="NSNextKeyView" ref="68425806"/>
<int key="NSsFlags">530</int>
<reference key="NSVScroller" ref="99652168"/>
<reference key="NSHScroller" ref="1053700221"/>
@@ -6504,6 +6516,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 17}, {376, 105}}</string>
<reference key="NSSuperview" ref="597878738"/>
+ <reference key="NSNextKeyView" ref="292088665"/>
<reference key="NSDocView" ref="292088665"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -6537,6 +6550,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 0}, {376, 17}}</string>
<reference key="NSSuperview" ref="597878738"/>
+ <reference key="NSNextKeyView" ref="318747409"/>
<reference key="NSDocView" ref="318747409"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -6545,6 +6559,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{20, 57}, {378, 123}}</string>
<reference key="NSSuperview" ref="778680541"/>
+ <reference key="NSNextKeyView" ref="811595075"/>
<int key="NSsFlags">514</int>
<reference key="NSVScroller" ref="4739239"/>
<reference key="NSHScroller" ref="87044874"/>
@@ -6816,6 +6831,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 1}, {328, 180}}</string>
<reference key="NSSuperview" ref="271089627"/>
+ <reference key="NSNextKeyView" ref="405634773"/>
<reference key="NSDocView" ref="405634773"/>
<reference key="NSBGColor" ref="449903125"/>
<reference key="NSCursor" ref="32917531"/>
@@ -6845,6 +6861,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{20, 45}, {341, 182}}</string>
<reference key="NSSuperview" ref="1052076676"/>
+ <reference key="NSNextKeyView" ref="240408862"/>
<int key="NSsFlags">18</int>
<reference key="NSVScroller" ref="850107135"/>
<reference key="NSHScroller" ref="937090729"/>
@@ -6998,6 +7015,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 17}, {358, 247}}</string>
<reference key="NSSuperview" ref="294857516"/>
+ <reference key="NSNextKeyView" ref="460727716"/>
<reference key="NSDocView" ref="460727716"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -7031,6 +7049,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 0}, {358, 17}}</string>
<reference key="NSSuperview" ref="294857516"/>
+ <reference key="NSNextKeyView" ref="74674217"/>
<reference key="NSDocView" ref="74674217"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -7039,6 +7058,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{20, 45}, {371, 276}}</string>
<reference key="NSSuperview" ref="226131408"/>
+ <reference key="NSNextKeyView" ref="841219743"/>
<int key="NSsFlags">50</int>
<reference key="NSVScroller" ref="297298990"/>
<reference key="NSHScroller" ref="857738313"/>
@@ -7591,6 +7611,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 1}, {198, 107}}</string>
<reference key="NSSuperview" ref="27548452"/>
+ <reference key="NSNextKeyView" ref="29661959"/>
<reference key="NSDocView" ref="29661959"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -7618,6 +7639,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{20, 20}, {211, 109}}</string>
<reference key="NSSuperview" ref="774289419"/>
+ <reference key="NSNextKeyView" ref="383807970"/>
<int key="NSsFlags">18</int>
<reference key="NSVScroller" ref="438736883"/>
<reference key="NSHScroller" ref="721548430"/>
@@ -8359,6 +8381,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 1}, {198, 115}}</string>
<reference key="NSSuperview" ref="453791311"/>
+ <reference key="NSNextKeyView" ref="830161156"/>
<reference key="NSDocView" ref="830161156"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -8386,6 +8409,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{20, 20}, {211, 117}}</string>
<reference key="NSSuperview" ref="856973094"/>
+ <reference key="NSNextKeyView" ref="484708000"/>
<int key="NSsFlags">18</int>
<reference key="NSVScroller" ref="604433365"/>
<reference key="NSHScroller" ref="908389721"/>
@@ -8561,6 +8585,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{1, 1}, {198, 115}}</string>
<reference key="NSSuperview" ref="448100292"/>
+ <reference key="NSNextKeyView" ref="3329499"/>
<reference key="NSDocView" ref="3329499"/>
<reference key="NSBGColor" ref="1024678221"/>
<int key="NScvFlags">4</int>
@@ -8588,6 +8613,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string key="NSFrame">{{20, 20}, {211, 117}}</string>
<reference key="NSSuperview" ref="757539703"/>
+ <reference key="NSNextKeyView" ref="590886099"/>
<int key="NSsFlags">18</int>
<reference key="NSVScroller" ref="947905899"/>
<reference key="NSHScroller" ref="245849004"/>