diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-07 14:25:18 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-07 14:25:18 +0300 |
commit | 44e4516ee70177bad3e6826c61bf84227fef6653 (patch) | |
tree | 21afecbf3470976731b1b6e11a7e86d7245679c0 /plugins | |
parent | e92e83f502121d0a3d98b96ef7cda841c0c5bbf0 (diff) |
fixes #3829 (Popup+: пропали уточнения, что настраивается только цвет окон, но не шрифт)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Popup/src/notifications.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Popup/src/notifications.cpp b/plugins/Popup/src/notifications.cpp index cafebe3921..9ab941d170 100644 --- a/plugins/Popup/src/notifications.cpp +++ b/plugins/Popup/src/notifications.cpp @@ -184,11 +184,7 @@ HANDLE RegisterNotification(POPUPNOTIFICATION *notification) FontID fontid = {};
mir_snprintf(fontid.group, PU_FNT_AND_COLOR "/%s", notification->lpzGroup);
mir_strcpy(fontid.dbSettingsGroup, "PopupNotifications");
- fontid.flags = FIDF_DEFAULTVALID;
- fontid.deffontsettings.charset = DEFAULT_CHARSET;
- fontid.deffontsettings.colour = ptd->notification.colorText;
- fontid.deffontsettings.size = -11;
- mir_strncpy(fontid.deffontsettings.szFace, "MS Shell Dlg", _countof(fontid.deffontsettings.szFace));
+ fontid.flags = FIDF_DISABLEFONT;
mir_strncpy(fontid.name, notification->lpzName, _countof(fontid.name));
mir_snprintf(fontid.setting, "{%s/%s}text", notification->lpzGroup, notification->lpzName);
g_plugin.addFont(&fontid);
|