Fix typo, it's Incoming not Incomming.

This commit is contained in:
plfiorini 2010-05-30 22:00:09 +00:00
parent 183a682585
commit b172d6fb20
2 changed files with 7 additions and 6 deletions

View File

@ -29,9 +29,9 @@ PreferencesBehavior::PreferencesBehavior()
: BView("Behavior", B_WILL_DRAW) : BView("Behavior", B_WILL_DRAW)
{ {
fOnIncomming = new BStringView("onIncomming", "On incomming message ... "); fOnIncoming = new BStringView("onIncoming", "On incomming message...");
fOnIncomming->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT, B_ALIGN_MIDDLE)); fOnIncoming->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT, B_ALIGN_MIDDLE));
fOnIncomming->SetFont(be_bold_font); fOnIncoming->SetFont(be_bold_font);
fToCurrentWorkspace = new BCheckBox("ToCurrentWorkspace", fToCurrentWorkspace = new BCheckBox("ToCurrentWorkspace",
"Move window to current workspace", "Move window to current workspace",
@ -52,13 +52,14 @@ PreferencesBehavior::PreferencesBehavior()
fMarkUnreadWindow = new BCheckBox("MarkUnreadWindow", fMarkUnreadWindow = new BCheckBox("MarkUnreadWindow",
"Mark unread window chat", NULL); "Mark unread window chat", NULL);
fMarkUnreadWindow->SetEnabled(false); // not implemented fMarkUnreadWindow->SetEnabled(false);
// not implemented
const float spacing = be_control_look->DefaultItemSpacing(); const float spacing = be_control_look->DefaultItemSpacing();
SetLayout(new BGroupLayout(B_HORIZONTAL, spacing)); SetLayout(new BGroupLayout(B_HORIZONTAL, spacing));
AddChild(BGroupLayoutBuilder(B_VERTICAL) AddChild(BGroupLayoutBuilder(B_VERTICAL)
.Add(fOnIncomming) .Add(fOnIncoming)
.AddGroup(B_VERTICAL, spacing) .AddGroup(B_VERTICAL, spacing)
.Add(fToCurrentWorkspace) .Add(fToCurrentWorkspace)
.Add(fActivateChatWindow) .Add(fActivateChatWindow)

View File

@ -19,7 +19,7 @@ public:
private: private:
BStringView* fOnIncomming; BStringView* fOnIncoming;
BCheckBox* fToCurrentWorkspace; BCheckBox* fToCurrentWorkspace;
BCheckBox* fActivateChatWindow; BCheckBox* fActivateChatWindow;
BCheckBox* fPlaySoundOnMessageReceived; BCheckBox* fPlaySoundOnMessageReceived;