Fixed and closed #410: added SettingName.RootNamespaceTheme and updated Host class. Also fixed bug in Host.ListDirectories().

This commit is contained in:
Dario Solera 2009-11-06 07:53:10 +00:00
parent 24646bd331
commit acf1af0491
3 changed files with 10 additions and 4 deletions

View file

@ -16,5 +16,5 @@ using System.Reflection;
// //
// You can specify all the values or you can default the Revision and Build Numbers // You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.1.424")] [assembly: AssemblyVersion("3.0.1.425")]
[assembly: AssemblyFileVersion("3.0.1.424")] [assembly: AssemblyFileVersion("3.0.1.425")]

View file

@ -142,6 +142,8 @@ namespace ScrewTurn.Wiki {
return Settings.DefaultFilesProvider; return Settings.DefaultFilesProvider;
case SettingName.DefaultCacheProvider: case SettingName.DefaultCacheProvider:
return Settings.DefaultCacheProvider; return Settings.DefaultCacheProvider;
case SettingName.RootNamespaceTheme:
return Settings.GetTheme(null);
} }
return ""; return "";
} }
@ -487,7 +489,7 @@ namespace ScrewTurn.Wiki {
} }
} }
else { else {
string[] dirs = directory.Provider.ListDirectories(null); string[] dirs = directory.Provider.ListDirectories(directory.FullPath);
foreach(string dir in dirs) { foreach(string dir in dirs) {
result.Add(new StDirectoryInfo(dir, directory.Provider)); result.Add(new StDirectoryInfo(dir, directory.Provider));

View file

@ -627,7 +627,11 @@ namespace ScrewTurn.Wiki.PluginFramework {
/// <summary> /// <summary>
/// The default cache provider. /// The default cache provider.
/// </summary> /// </summary>
DefaultCacheProvider DefaultCacheProvider,
/// <summary>
/// The name of the theme of the root namespace.
/// </summary>
RootNamespaceTheme
} }
/// <summary> /// <summary>