Author: sdeboy
Date: Mon Jun 14 05:40:32 2010
New Revision: 954371

URL: http://svn.apache.org/viewvc?rev=954371&view=rev
Log:
If the 'You have no Receivers defined' dialog is displayed, a configuration URL 
is provided and the 'don't show me this again' checkbox is selected, the 
provided configuration URL is set as the Auto Config URL in application-wide 
preferences and used from then on when Chainsaw starts.

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.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/LogUI.java
URL: 
http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java?rev=954371&r1=954370&r2=954371&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java 
(original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java 
Mon Jun 14 05:40:32 2010
@@ -1495,8 +1495,12 @@ public class LogUI extends JFrame implem
               new Thread(
                 new Runnable() {
                   public void run() {
+                    if (noReceiversWarningPanel.isDontWarnMeAgain()) {
+                        
applicationPreferenceModel.setConfigurationURL(url.toExternalForm());
+                    }                                                          
              
                     loadConfigurationUsingPluginClassLoader(url);
 
+
                     receiversPanel.updateReceiverTreeInDispatchThread();
                   }
                 }).start();

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=954371&r1=954370&r2=954371&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
 Mon Jun 14 05:40:32 2010
@@ -13,6 +13,7 @@
 <h2>13 Jun 2010</h2>
 <ul>
 <li>When mouse is moved into the thumbnail bar, event details for the closest 
event w/a color rule or search match is displayed as a tooltip (enabled by 
default, configurable via Tab Preferences dialog, Visuals section).</li>
+<li>If the 'You have no Receivers defined' dialog is displayed, a 
configuration URL is provided and the 'don't show me this again' checkbox is 
selected, the provided configuration URL is set as the Auto Config URL in 
application-wide preferences and used from then on when Chainsaw starts.</li>
 </ul>
 <h2>11 Jun 2010</h2>
 <ul>


Reply via email to