Index: src/DeltaShell/DeltaShell.Gui/DeltaShellGui.cs =================================================================== diff -u -rda0e4ce0541bc755152f9948a66d9060f8496109 -rb301f31bca6957a9326b4b0ab912bd7b5da60195 --- src/DeltaShell/DeltaShell.Gui/DeltaShellGui.cs (.../DeltaShellGui.cs) (revision da0e4ce0541bc755152f9948a66d9060f8496109) +++ src/DeltaShell/DeltaShell.Gui/DeltaShellGui.cs (.../DeltaShellGui.cs) (revision b301f31bca6957a9326b4b0ab912bd7b5da60195) @@ -849,29 +849,8 @@ e.Cancel = true; //cancel closing: let Exit handle it Exit(); }; - - UpdateMainWindowIcon(); } - private void UpdateMainWindowIcon() - { - //update icon if a valid icon is in app.config - string iconPath = Application.Settings["applicationIcon"]; - if (iconPath != null) - { - if (iconPath.Trim().Length > 0 && - (Path.GetDirectoryName(iconPath).Length == 0 || iconPath.StartsWith("..", StringComparison.Ordinal))) - { - iconPath = Path.Combine(System.Windows.Forms.Application.StartupPath, iconPath); - } - - if (File.Exists(iconPath)) - { - mainWindow.Icon = new Icon(iconPath); - } - } - } - private void InitializeWindows() { log.Info(Resources.DeltaShellGui_InitializeWindows_Initializing_windows____);