some logging...

This commit is contained in:
Anton Makeev
2010-04-13 01:25:03 +04:00
parent d743c2cd3b
commit a8ab39a701
@@ -385,7 +385,7 @@ public class InfoAndProgressPanel extends JPanel implements StatusBarPatch {
myProgressIcon.setBorder(myCompoundBorder);
long wastedTime = ProgressManagerImpl.getWastedTime();
if (ApplicationManagerEx.getApplicationEx().isInternal() && wastedTime > 10 * 1000) {
if (ApplicationManagerEx.getApplicationEx().isInternal() && wastedTime > 10 * 60 * 1000) {
JPanel wrapper = new JPanel(new BorderLayout());
JLabel label = new JLabel(" Wasted time: " + formatTime(wastedTime) + " ");
label.setForeground(UIUtil.getPanelBackground().darker());