Rename the TReplicantTray view "_deskbar_rt_"

instead of "_replicant_tray_". That follows the convention a bit
better and is less likely to cause name collisions. While I am at
it put the BView line below the : as is our usual convention.
This commit is contained in:
John Scipione 2012-04-17 23:08:35 -04:00
parent 30a5580244
commit 0d2ac94c4d
2 changed files with 4 additions and 3 deletions

View File

@ -640,7 +640,7 @@ TBarApp::MessageReceived(BMessage* message)
if (message->FindBool("filesys", &localize) == B_OK)
gLocalizedNamePreferred = localize;
BMessenger(fBarWindow->FindView("_replicant_tray_")).SendMessage(
BMessenger(fBarWindow->FindView("_deskbar_rt_")).SendMessage(
message);
// Notify the replicant tray that the time interval has
// changed and it should update the time view and reflow

View File

@ -124,8 +124,9 @@ DumpList(BList* itemlist)
// don't change the name of this view to anything other than "Status"!
TReplicantTray::TReplicantTray(TBarView* parent, bool vertical)
: BView(BRect(0, 0, 1, 1), "_replicant_tray_",
B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW | B_FRAME_EVENTS),
:
BView(BRect(0, 0, 1, 1), "_deskbar_rt_", B_FOLLOW_LEFT | B_FOLLOW_TOP,
B_WILL_DRAW | B_FRAME_EVENTS),
fTime(NULL),
fBarView(parent),
fShelf(new TReplicantShelf(this)),