diff options
author | George Hazan <ghazan@miranda.im> | 2020-06-23 18:14:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-06-23 18:14:06 +0300 |
commit | c7f6afe4b2f0dd41d7a97ea26075398bf7bd1843 (patch) | |
tree | 5f2509e6f2a6d010353375024a170e1d8b904a35 /plugins/New_GPG/src/options.cpp | |
parent | 7e120902cd5b5fe17bf9cbdd799802a20eee5c6e (diff) |
New_GPG: fix for extra icon's behavior
Diffstat (limited to 'plugins/New_GPG/src/options.cpp')
-rwxr-xr-x | plugins/New_GPG/src/options.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp index 485c7b431c..c658775a8d 100755 --- a/plugins/New_GPG/src/options.cpp +++ b/plugins/New_GPG/src/options.cpp @@ -298,12 +298,7 @@ public: check_JABBER_API.Enable(); check_AUTO_EXCHANGE.Enable(g_plugin.bJabberAPI); - CMStringW keyinfo = TranslateT("Default private key ID"); - keyinfo += L": "; - - ptrW keyid(g_plugin.getWStringA("KeyID")); - keyinfo += (mir_wstrlen(keyid) > 0) ? keyid : TranslateT("not set"); - lbl_CURRENT_KEY.SetText(keyinfo); + lbl_CURRENT_KEY.SetText(CMStringW(FORMAT, L"%s: %s", TranslateT("Default private key ID"), ptrW(g_plugin.getWStringA("KeyID", TranslateT("not set"))).get())); check_JABBER_API.SetState(g_plugin.getByte("bJabberAPI", 1)); check_FILE_TRANSFERS.SetState(g_plugin.getByte("bFileTransfers", 0)); |