? jbidwatcher-move-complete.patch Index: FilterManager.java =================================================================== RCS file: /cvsroot/jbidwatcher/jbidwatcher/FilterManager.java,v retrieving revision 1.31 diff -u -p -r1.31 FilterManager.java --- FilterManager.java 14 Feb 2005 03:23:59 -0000 1.31 +++ FilterManager.java 5 May 2005 19:24:33 -0000 @@ -277,7 +277,8 @@ public class FilterManager implements Me if(ae.isSeller()) { return findSellerList(); } - if(ae.isEnded()) { + if(JConfig.queryConfiguration("move_completed", "true").equals("true") + && ae.isEnded()) { return findCompletedList(); } } Index: JConfigGeneralTab.java =================================================================== RCS file: /cvsroot/jbidwatcher/jbidwatcher/JConfigGeneralTab.java,v retrieving revision 1.16 diff -u -p -r1.16 JConfigGeneralTab.java --- JConfigGeneralTab.java 14 Feb 2005 03:24:00 -0000 1.16 +++ JConfigGeneralTab.java 5 May 2005 19:24:33 -0000 @@ -41,6 +41,7 @@ public class JConfigGeneralTab extends J private JCheckBox debuggingBox; private JCheckBox loggingBox; private JCheckBox shippingBox; + private JCheckBox moveCompletedBox; private JCheckBox limitsBox; private JCheckBox macMetalBox; @@ -106,6 +107,9 @@ public class JConfigGeneralTab extends J } JConfig.setConfiguration( + "move_completed", + moveCompletedBox.isSelected() ? "true" : "false"); + JConfig.setConfiguration( "limits.enabled", limitsBox.isSelected() ? "true" : "false"); if (limitsBox.isSelected()) { @@ -156,6 +160,7 @@ public class JConfigGeneralTab extends J String doDebugging = JConfig.queryConfiguration("debugging", "false"); String doLogging = JConfig.queryConfiguration("logging", "true"); String doShipping = JConfig.queryConfiguration("show_shipping", "false"); + String doMoveCompleted = JConfig.queryConfiguration("move_completed", "true"); String doSpendingLimits = JConfig.queryConfiguration("limits.enabled", "false"); String doMacMetal = JConfig.queryConfiguration("mac.useMetal", "true"); @@ -165,6 +170,7 @@ public class JConfigGeneralTab extends J debuggingBox.setSelected(doDebugging.equals("true")); loggingBox.setSelected(doLogging.equals("true")); shippingBox.setSelected(doShipping.equals("true")); + moveCompletedBox.setSelected(doMoveCompleted.equals("true")); limitsBox.setSelected(doSpendingLimits.equals("true")); if(Platform.isMac()) { macMetalBox.setSelected(doMacMetal.equals("true")); @@ -219,7 +225,11 @@ public class JConfigGeneralTab extends J JPanel tp = new JPanel(); tp.setBorder(BorderFactory.createTitledBorder("General Options")); - tp.setLayout(new GridLayout(3, 2)); + if(Platform.isMac()) { + tp.setLayout(new GridLayout(4, 2)); + } else { + tp.setLayout(new GridLayout(3, 2)); + } String doLocalServer = JConfig.queryConfiguration("server.enabled", "false"); @@ -228,6 +238,7 @@ public class JConfigGeneralTab extends J String doDebugging = JConfig.queryConfiguration("debugging", "false"); String doLogging = JConfig.queryConfiguration("logging", "true"); String doShipping = JConfig.queryConfiguration("show_shipping", "false"); + String doMoveCompleted = JConfig.queryConfiguration("move_completed", "true"); String doMacMetal = JConfig.queryConfiguration("mac.useMetal", "true"); localServerBrowseBox = new JCheckBox("Use internal web server"); @@ -249,6 +260,11 @@ public class JConfigGeneralTab extends J shippingBox.setSelected(doShipping.equals("true")); tp.add(shippingBox); + moveCompletedBox = new JCheckBox("Move Completed Auctions."); + moveCompletedBox.setToolTipText("move completed auctions to \"complete\" tab."); + moveCompletedBox.setSelected(doMoveCompleted.equals("true")); + tp.add(moveCompletedBox); + if(Platform.isMac()) { macMetalBox = new JCheckBox("Use Brushed Metal UI"); macMetalBox.setToolTipText("Turn on / off brushed metal look under MacOSX.");