directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r526241 - /directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/widgets/browser/BrowserLabelProvider.java
Date Fri, 06 Apr 2007 18:36:48 GMT
Author: seelmann
Date: Fri Apr  6 11:36:47 2007
New Revision: 526241

URL: http://svn.apache.org/viewvc?view=rev&rev=526241
Log:
Fixed missing 'filtered' label when no child entry matches the filter

Modified:
    directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/widgets/browser/BrowserLabelProvider.java

Modified: directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/widgets/browser/BrowserLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/widgets/browser/BrowserLabelProvider.java?view=diff&rev=526241&r1=526240&r2=526241
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/widgets/browser/BrowserLabelProvider.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/widgets/browser/BrowserLabelProvider.java
Fri Apr  6 11:36:47 2007
@@ -87,7 +87,7 @@
             {
                 append.append( "Root DSE" );
             }
-            if ( entry.isChildrenInitialized() && entry.getChildrenCount() > 0
)
+            if ( entry.isChildrenInitialized() && ( entry.getChildrenCount() >
0 ) || entry.getChildrenFilter() != null )
             {
                 append.append( " (" ).append( entry.getChildrenCount() );
                 if ( entry.hasMoreChildren() )



Mime
View raw message