diff --git a/application/ChatProtocolMessages.h b/application/ChatProtocolMessages.h index 658c698..f34db38 100644 --- a/application/ChatProtocolMessages.h +++ b/application/ChatProtocolMessages.h @@ -138,7 +138,8 @@ enum im_what_code { Requires: String "user_name" */ IM_SET_OWN_NICKNAME = 80, - //! Own nickname was changed →App + /*! Own nickname was changed →App + Requires: String "user_name" */ IM_OWN_NICKNAME_SET = 81, /*! Change own status →Protocol diff --git a/application/views/StatusView.cpp b/application/views/StatusView.cpp index 291ac23..7ca2f74 100644 --- a/application/views/StatusView.cpp +++ b/application/views/StatusView.cpp @@ -43,7 +43,7 @@ StatusView::StatusView(const char* name, Server* server) fAccount(-1) { // Nick name - fNickname = new EnterTextView("nicknameTextView"); + fNickname = new EnterTextView("nicknameTextView", be_bold_font, NULL); fNickname->MakeEditable(true); fNickname->MakeResizable(true); fNickname->SetTarget(this); @@ -211,7 +211,7 @@ StatusView::_SetToAccount() void StatusView::_SetName(BString name) { - fNickname->SetText(name.String()); + fNickname->SetText(name.String()); }