Conan Server Manager Version FeedThis is the Conan Server Manager release version feed.
- 2021-11-24T00:00:00Z
+ 2021-11-30T00:00:00Z
+
+
+ urn:uuid:38961ED8-0964-4C1A-B09C-8AE2C5FCF76E
+ 1.1.54 (1.1.54.1)
+ 1.1.54.1
+
+ 2021-11-30T00:00:00Z
+
+
+
+ CHANGE
+
+
+
Added globalization to the Main Window Start Mode setting in the Global Settings.
+
+
+
+
+
+ bletch
+ bletch1971@hotmail.com
+
+ urn:uuid:80B2DFDC-E9BE-4B56-A1FE-DD57E64647D1
diff --git a/src/ConanServerManager/VersionFeedBeta.xml b/src/ConanServerManager/VersionFeedBeta.xml
index 211a31f0..68ad2975 100644
--- a/src/ConanServerManager/VersionFeedBeta.xml
+++ b/src/ConanServerManager/VersionFeedBeta.xml
@@ -5,33 +5,21 @@
Conan Server Manager Version FeedThis is the Conan Server Manager beta version feed.
- 2021-11-24T00:00:00Z
+ 2021-11-30T00:00:00Z
- urn:uuid:80B2DFDC-E9BE-4B56-A1FE-DD57E64647D1
- 1.1.53 (1.1.53.1)
- 1.1.53.1
+ urn:uuid:38961ED8-0964-4C1A-B09C-8AE2C5FCF76E
+ 1.1.54 (1.1.54.1)
+ 1.1.54.1
- 2021-11-24T00:00:00Z
+ 2021-11-30T00:00:00Z
- BUGFIX
-
-
-
Fixed a crashing bug when CSM closes and is unable to find the backup location to save the config settings.
-
- NEW
-
-
-
Global Settings - added option to set the Main Window start mode - Normal, Maximized, Minimized.
-
Main Window - now stores the Left and Top positions of the window, when in Normal mode. Will restore the window position when started. Defaults to 50,50.
-
Server Settings - added resizing to all the grids, so the height can be increased/decreased. The height is also remembered, so when you reopen, it will size the grid correctly.
-
CHANGE
-
Fixed the steamcmd warning about 'Please use force_install_dir before login!'.
+
Added globalization to the Main Window Start Mode setting in the Global Settings.
diff --git a/src/ConanServerManager/Windows/GlobalSettingsControl.xaml b/src/ConanServerManager/Windows/GlobalSettingsControl.xaml
index 56793e51..89ab0d9c 100644
--- a/src/ConanServerManager/Windows/GlobalSettingsControl.xaml
+++ b/src/ConanServerManager/Windows/GlobalSettingsControl.xaml
@@ -136,7 +136,7 @@
-
+
diff --git a/src/ConanServerManager/Windows/GlobalSettingsControl.xaml.cs b/src/ConanServerManager/Windows/GlobalSettingsControl.xaml.cs
index dc2908c4..2373c7d9 100644
--- a/src/ConanServerManager/Windows/GlobalSettingsControl.xaml.cs
+++ b/src/ConanServerManager/Windows/GlobalSettingsControl.xaml.cs
@@ -2,6 +2,7 @@
using NLog;
using ServerManagerTool.Common;
using ServerManagerTool.Common.Lib;
+using ServerManagerTool.Common.Model;
using ServerManagerTool.Common.Utils;
using System;
using System.Collections.Generic;
@@ -28,7 +29,7 @@ namespace ServerManagerTool
public static readonly DependencyProperty AppInstanceProperty = DependencyProperty.Register(nameof(AppInstance), typeof(App), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public static readonly DependencyProperty IsAdministratorProperty = DependencyProperty.Register(nameof(IsAdministrator), typeof(bool), typeof(GlobalSettingsControl), new PropertyMetadata(false));
- public static readonly DependencyProperty WindowStatesProperty = DependencyProperty.Register(nameof(WindowStates), typeof(List), typeof(GlobalSettingsControl), new PropertyMetadata(new List()));
+ public static readonly DependencyProperty WindowStatesProperty = DependencyProperty.Register(nameof(WindowStates), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public GlobalSettingsControl()
{
@@ -38,10 +39,11 @@ namespace ServerManagerTool
this.IsAdministrator = SecurityUtils.IsAdministrator();
this.Version = GetDeployedVersion();
- this.WindowStates = new List();
- foreach (var windowState in Enum.GetValues(typeof(WindowState)))
+ this.WindowStates = new ComboBoxItemList();
+ foreach (WindowState windowState in Enum.GetValues(typeof(WindowState)))
{
- this.WindowStates.Add((WindowState)windowState);
+ var displayMember = _globalizer.GetResourceString($"WindowState_{windowState}") ?? windowState.ToString();
+ this.WindowStates.Add(new Common.Model.ComboBoxItem(windowState.ToString(), displayMember));
}
InitializeComponent();
@@ -74,9 +76,9 @@ namespace ServerManagerTool
set { SetValue(IsAdministratorProperty, value); }
}
- public List WindowStates
+ public ComboBoxItemList WindowStates
{
- get { return (List)GetValue(WindowStatesProperty); }
+ get { return (ComboBoxItemList)GetValue(WindowStatesProperty); }
set { SetValue(WindowStatesProperty, value); }
}