diff options
-rw-r--r-- | src/mir_app/src/proto_opts.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp index 68e2d71658..06f2eee4a6 100644 --- a/src/mir_app/src/proto_opts.cpp +++ b/src/mir_app/src/proto_opts.cpp @@ -709,7 +709,12 @@ BOOL CAccountListCtrl::OnDrawItem(DRAWITEMSTRUCT *lps) else
text.Format(L"%s: %s", wszIdName, TranslateT("<unknown>"));
}
- else text.Format(TranslateT("Protocol is not loaded."));
+ else {
+ if (acc->ppro)
+ text.Format(TranslateT("Protocol is not loaded."));
+ else
+ text.Format(TranslateT("Account is disabled."));
+ }
DrawText(lps->hDC, text, -1, &lps->rcItem, DT_LEFT | DT_NOPREFIX | DT_SINGLELINE | DT_END_ELLIPSIS);
GetTextExtentPoint32(lps->hDC, text, text.GetLength(), &sz);
|