diff --git a/Source/Components/ImageGlass.Settings/WebUI.cs b/Source/Components/ImageGlass.Settings/WebUI.cs
index a66f2ede3..a4c24d004 100644
--- a/Source/Components/ImageGlass.Settings/WebUI.cs
+++ b/Source/Components/ImageGlass.Settings/WebUI.cs
@@ -100,6 +100,8 @@ public static async Task UpdateSvgIconsAsync(bool forced = false)
{ IconName.ArrowExchange, string.Empty },
{ IconName.Sun, string.Empty },
{ IconName.Moon, string.Empty },
+ { IconName.Info, string.Empty },
+ { IconName.Warning, string.Empty },
};
diff --git a/Source/Components/ImageGlass.Settings/WebUI/FrmSettings.html b/Source/Components/ImageGlass.Settings/WebUI/FrmSettings.html
index cff800975..5a287c80d 100644
--- a/Source/Components/ImageGlass.Settings/WebUI/FrmSettings.html
+++ b/Source/Components/ImageGlass.Settings/WebUI/FrmSettings.html
@@ -128,7 +128,7 @@
@@ -158,9 +158,9 @@
-
+
-
+
+
+
+
+
+ [Startup Boost]
+
+
+
+
+ [Preload ImageGlass in the background during Windows startup to accelerate the first launch. The app will automatically exit after 3 seconds.]
+
+
+
+
+ [Enable Startup Boost]
+
+
+ [Disable Startup Boost]
+
+
+
@@ -902,10 +923,13 @@
-
+
+ [Default photo viewer]
+
+
- [You can set ImageGlass as your default photo viewer using the buttons below. Remember to manually reset it if you uninstall ImageGlass, as the installer does not handle this task automatically.]
+ [You can set ImageGlass as your default photo viewer using the buttons below. If necessary, open the Default apps settings to manually choose ImageGlass as the default.]
diff --git a/Source/Components/ImageGlass.Settings/WebUI/src/@types/FrmSettings.ts b/Source/Components/ImageGlass.Settings/WebUI/src/@types/FrmSettings.ts
index 36b86dd0f..3daffc54e 100644
--- a/Source/Components/ImageGlass.Settings/WebUI/src/@types/FrmSettings.ts
+++ b/Source/Components/ImageGlass.Settings/WebUI/src/@types/FrmSettings.ts
@@ -94,6 +94,8 @@ export type IPageSettings = Record & {
ArrowExchange: string,
Sun: string,
Moon: string,
+ Info: string,
+ Warning: string,
},
FILE_MACRO: string;
};
diff --git a/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings.ts b/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings.ts
index 61412b0ae..23984b51f 100644
--- a/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings.ts
+++ b/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings.ts
@@ -40,6 +40,8 @@ if (!window._pageSettings) {
ArrowExchange: '',
Moon: '',
Sun: '',
+ Info: '',
+ Warning: '',
},
startUpDir: '',
configDir: '',
diff --git a/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/Settings.ts b/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/Settings.ts
index b527110cc..37846f34c 100644
--- a/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/Settings.ts
+++ b/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/Settings.ts
@@ -72,6 +72,17 @@ export default class Settings {
}
+ // load icon element:
+ queryAll('i[icon]').forEach(el => {
+ const iconName = el.getAttribute('icon');
+ const iconSvg = _pageSettings.icons[iconName];
+
+ if (iconSvg) {
+ el.innerHTML = iconSvg;
+ }
+ });
+
+
// load specific settings
TabGeneral.loadSettings();
TabImage.loadSettings();
diff --git a/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/webComponents/ToolbarEditorHtmlElement.ts b/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/webComponents/ToolbarEditorHtmlElement.ts
index 97761e609..9e5b39656 100644
--- a/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/webComponents/ToolbarEditorHtmlElement.ts
+++ b/Source/Components/ImageGlass.Settings/WebUI/src/FrmSettings/webComponents/ToolbarEditorHtmlElement.ts
@@ -84,7 +84,9 @@ export class ToolbarEditorHtmlElement extends HTMLElement {
-
[Icon]
+
+
+