summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-06 17:49:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-06 17:49:39 +0300
commit44fc5738c808a028ecd74df2d92529f66c1ceca8 (patch)
treebd9f5a3917f687207234b8e2f83a92d4ea9a33f6 /protocols/JabberG/src/jabber.cpp
parent35544c08d3f45070e2d18e18a174fc0c8a0500c5 (diff)
fixes #3400 (Удалить настройки шрифта фрейма Jabber)
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rw-r--r--protocols/JabberG/src/jabber.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp
index b7fd7ae0af..e65d2688cc 100644
--- a/protocols/JabberG/src/jabber.cpp
+++ b/protocols/JabberG/src/jabber.cpp
@@ -113,39 +113,6 @@ static int OnModulesLoaded(WPARAM, LPARAM)
CreateServiceFunction("JABBER/*" JS_PARSE_XMPP_URI, g_SvcParseXmppUri);
AssocMgr_AddNewUrlTypeW("xmpp:", TranslateT("Jabber Link Protocol"), g_plugin.getInst(), IDI_JABBER, "JABBER/*" JS_PARSE_XMPP_URI, 0);
}
-
- // init fontservice for info frame
- FontIDW fontid = {};
- wcsncpy_s(fontid.group, LPGENW("Jabber"), _TRUNCATE);
- strncpy_s(fontid.dbSettingsGroup, GLOBAL_SETTING_MODULE, _TRUNCATE);
- wcsncpy_s(fontid.backgroundGroup, L"Jabber", _TRUNCATE);
- wcsncpy_s(fontid.backgroundName, L"Background", _TRUNCATE);
- fontid.flags = FIDF_DEFAULTVALID;
-
- fontid.deffontsettings.charset = DEFAULT_CHARSET;
- fontid.deffontsettings.colour = GetSysColor(COLOR_WINDOWTEXT);
- fontid.deffontsettings.size = -11;
- mir_wstrncpy(fontid.deffontsettings.szFace, L"MS Shell Dlg", _countof(fontid.deffontsettings.szFace));
- fontid.deffontsettings.style = 0;
-
- wcsncpy_s(fontid.name, LPGENW("Frame title"), _TRUNCATE);
- strncpy_s(fontid.setting, "fntFrameTitle", _TRUNCATE);
- fontid.deffontsettings.style = DBFONTF_BOLD;
- g_plugin.addFont(&fontid);
-
- wcsncpy_s(fontid.name, LPGENW("Frame text"), _TRUNCATE);
- strncpy_s(fontid.setting, "fntFrameClock", _TRUNCATE);
- fontid.deffontsettings.style = 0;
- g_plugin.addFont(&fontid);
-
- ColourIDW colourid = {};
- wcsncpy_s(colourid.group, L"Jabber", _TRUNCATE);
- strncpy_s(colourid.dbSettingsGroup, GLOBAL_SETTING_MODULE, _TRUNCATE);
-
- wcsncpy_s(colourid.name, L"Background", _TRUNCATE);
- strncpy_s(colourid.setting, "clFrameBack", _TRUNCATE);
- colourid.defcolour = GetSysColor(COLOR_WINDOW);
- g_plugin.addColor(&colourid);
return 0;
}