diff --git a/src/apps/deskbar/BarApp.cpp b/src/apps/deskbar/BarApp.cpp index c4dc167fb5..42177283d7 100644 --- a/src/apps/deskbar/BarApp.cpp +++ b/src/apps/deskbar/BarApp.cpp @@ -118,11 +118,19 @@ TBarApp::TBarApp() // statusview so that all additions to the tray // follow the same path fStatusViewMess = BMessenger(fBarWindow->FindView("BarView")); + +#ifdef __HAIKU__ + be_roster->StartWatching(this); +#endif } TBarApp::~TBarApp() { +#ifdef __HAIKU__ + be_roster->StartWatching(this); +#endif + int32 teamCount = sBarTeamInfoList.CountItems(); for (int32 i = 0; i < teamCount; i++) { BarTeamInfo *barInfo = (BarTeamInfo *)sBarTeamInfoList.ItemAt(i);