Enhanced ini framework with enums and lists

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@810 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2010-08-17 21:09:53 +00:00
commit afc764aa41

View file

@ -85,7 +85,13 @@ namespace Greenshot {
// Read configuration
coreConfiguration = IniConfig.GetInstance().GetSection<CoreConfiguration>();
IniConfig.GetInstance().Save();
LOG.Info(coreConfiguration.IsFirstLaunch);
LOG.Info("Firstlaunch: " + coreConfiguration.IsFirstLaunch);
LOG.Info("Destinations:");
if (coreConfiguration.OutputDestinations != null) {
foreach(Destinations destination in coreConfiguration.OutputDestinations) {
LOG.Info(destination);
}
}
try {
// Fix for Bug 2495900, Multi-user Environment