diff --git a/src/apps/people/PeopleView.cpp b/src/apps/people/PeopleView.cpp index 32ee080c68..155f451668 100644 --- a/src/apps/people/PeopleView.cpp +++ b/src/apps/people/PeopleView.cpp @@ -48,17 +48,16 @@ TPeopleView::~TPeopleView(void) void TPeopleView::AttachedToWindow(void) { +printf("TPeopleView::AttachedToWindow()\n"); char *text; float offset; BBox *box; BFont font = *be_plain_font; BMenuField *field; BRect r; - rgb_color c; attr_info info; - c.red = c.green = c.blue = VIEW_COLOR; - SetViewColor(c); + SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); r = Bounds(); r.InsetBy(-1, -1); diff --git a/src/apps/people/PeopleView.h b/src/apps/people/PeopleView.h index b5fe6ee85e..84c4aeb1d9 100644 --- a/src/apps/people/PeopleView.h +++ b/src/apps/people/PeopleView.h @@ -73,8 +73,6 @@ #define GROUP_WIDTH 300 #define GROUP_TEXT "Group" -#define VIEW_COLOR 216 - class TTextControl;