Fixed and closed #410: added SettingName.RootNamespaceTheme and updated Host class. Also fixed bug in Host.ListDirectories().
This commit is contained in:
parent
24646bd331
commit
acf1af0491
3 changed files with 10 additions and 4 deletions
|
@ -16,5 +16,5 @@ using System.Reflection;
|
|||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("3.0.1.424")]
|
||||
[assembly: AssemblyFileVersion("3.0.1.424")]
|
||||
[assembly: AssemblyVersion("3.0.1.425")]
|
||||
[assembly: AssemblyFileVersion("3.0.1.425")]
|
||||
|
|
|
@ -142,6 +142,8 @@ namespace ScrewTurn.Wiki {
|
|||
return Settings.DefaultFilesProvider;
|
||||
case SettingName.DefaultCacheProvider:
|
||||
return Settings.DefaultCacheProvider;
|
||||
case SettingName.RootNamespaceTheme:
|
||||
return Settings.GetTheme(null);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
@ -487,7 +489,7 @@ namespace ScrewTurn.Wiki {
|
|||
}
|
||||
}
|
||||
else {
|
||||
string[] dirs = directory.Provider.ListDirectories(null);
|
||||
string[] dirs = directory.Provider.ListDirectories(directory.FullPath);
|
||||
|
||||
foreach(string dir in dirs) {
|
||||
result.Add(new StDirectoryInfo(dir, directory.Provider));
|
||||
|
|
|
@ -627,7 +627,11 @@ namespace ScrewTurn.Wiki.PluginFramework {
|
|||
/// <summary>
|
||||
/// The default cache provider.
|
||||
/// </summary>
|
||||
DefaultCacheProvider
|
||||
DefaultCacheProvider,
|
||||
/// <summary>
|
||||
/// The name of the theme of the root namespace.
|
||||
/// </summary>
|
||||
RootNamespaceTheme
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue