You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/10/08 00:08:41 UTC
svn commit: r822936 -
/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java
Author: tvolkert
Date: Wed Oct 7 22:08:41 2009
New Revision: 822936
URL: http://svn.apache.org/viewvc?rev=822936&view=rev
Log:
PIVOT-316 :: Made TerraFileBrowserSkin initialize the sort to file name ascending
Modified:
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java?rev=822936&r1=822935&r2=822936&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java Wed Oct 7 22:08:41 2009
@@ -581,6 +581,8 @@
}
});
+ fileTableView.setSort(TableViewFileRenderer.NAME_KEY, SortDirection.ASCENDING);
+
rootDirectoryChanged(fileBrowser, null);
selectedFilesChanged(fileBrowser, null);
}