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:
@@ -640,7 +640,7 @@ TBarApp::MessageReceived(BMessage* message)
|
|||||||
if (message->FindBool("filesys", &localize) == B_OK)
|
if (message->FindBool("filesys", &localize) == B_OK)
|
||||||
gLocalizedNamePreferred = localize;
|
gLocalizedNamePreferred = localize;
|
||||||
|
|
||||||
BMessenger(fBarWindow->FindView("_replicant_tray_")).SendMessage(
|
BMessenger(fBarWindow->FindView("_deskbar_rt_")).SendMessage(
|
||||||
message);
|
message);
|
||||||
// Notify the replicant tray that the time interval has
|
// Notify the replicant tray that the time interval has
|
||||||
// changed and it should update the time view and reflow
|
// changed and it should update the time view and reflow
|
||||||
|
|||||||
@@ -124,8 +124,9 @@ DumpList(BList* itemlist)
|
|||||||
// don't change the name of this view to anything other than "Status"!
|
// don't change the name of this view to anything other than "Status"!
|
||||||
|
|
||||||
TReplicantTray::TReplicantTray(TBarView* parent, bool vertical)
|
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),
|
fTime(NULL),
|
||||||
fBarView(parent),
|
fBarView(parent),
|
||||||
fShelf(new TReplicantShelf(this)),
|
fShelf(new TReplicantShelf(this)),
|
||||||
|
|||||||
Reference in New Issue
Block a user