logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r951963 - in /logging/chainsaw/trunk/src/main: java/org/apache/log4j/chainsaw/LoggerNameTreePanel.java resources/org/apache/log4j/chainsaw/help/release-notes.html
Date Sun, 06 Jun 2010 20:54:33 GMT
Author: sdeboy
Date: Sun Jun  6 20:54:33 2010
New Revision: 951963

URL: http://svn.apache.org/viewvc?rev=951963&view=rev
Log:
Loggers can now be ignored from the logger tree even while focus-on is enabled.

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LoggerNameTreePanel.java
    logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/help/release-notes.html

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LoggerNameTreePanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LoggerNameTreePanel.java?rev=951963&r1=951962&r2=951963&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LoggerNameTreePanel.java
(original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LoggerNameTreePanel.java
Sun Jun  6 20:54:33 2010
@@ -1219,8 +1219,7 @@ final class LoggerNameTreePanel extends 
             (path != null) && (node != null) && (node.getParent() != null)
             && !hiddenSet.contains(logger));
           hideAction.setEnabled(
-            (path != null) && (node != null) && (node.getParent() != null)
-            && !isFocusOnSelected());
+            (path != null) && (node != null) && (node.getParent() != null));
           //only enable on root node
           hideAllAction.setEnabled(node != null && (node.getParent() == null));
 
@@ -1367,7 +1366,6 @@ final class LoggerNameTreePanel extends 
   private void toggleFocusOnState()
   {
     setFocusOnSelected(!isFocusOnSelected());
-    hideAction.setEnabled(!isFocusOnSelected());
     fireChangeEvent();
   }
 

Modified: logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/help/release-notes.html
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/help/release-notes.html?rev=951963&r1=951962&r2=951963&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/help/release-notes.html
(original)
+++ logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/help/release-notes.html
Sun Jun  6 20:54:33 2010
@@ -10,6 +10,10 @@
 <b>NOTE:</b> The mechanism and format used to persist settings in Chainsaw is
subject to change.  If you are experiencing problems displaying events in Chainsaw, please
delete everything in the $user.dir/.chainsaw directory and restart Chainsaw.
 <br>
 <h1>2.0</h1>
+<h2>6 Jun 2010</h2>
+<ul>
+<li>Loggers can now be ignored from the logger tree even while focus-on is enabled.</li>
+</ul>
 <h2>5 Jun 2010</h2>
 <ul>
 <li>Added new 'ignore all loggers' context menu item to logger tree context menu (makes
it easy to quickly display specific loggers without building expressions - hide all loggers
and then enable individual loggers).</li>
@@ -174,7 +178,7 @@ Chainsaw.</li>
 <ul>
 <li>Save/load of custom event columns now supported, as well as column order.</li>
 </ul>
-<h2>2 February 2006/h2>
+<h2>2 February 2006</h2>
 <ul>
 <li>Revamped build system for easier maintenance and deployment of builds. Fixed issues
with Commons VFS and Webstart.</li>
 </ul>



Mime
View raw message