Deskbar: Remove B_TRANSLATE_SYSTEM_NAME and leave a comment as to why.

Fixes #18206. Related to #18251; a better way to accomplish finding
views without scripting should be added, really.
This commit is contained in:
Augustin Cavalier
2023-02-24 11:38:20 -05:00
parent 36e200e2e0
commit 08f748dea7
+2 -1
View File
@@ -85,7 +85,8 @@ TDeskbarMenu* TBarWindow::sDeskbarMenu = NULL;
TBarWindow::TBarWindow()
:
BWindow(BRect(-1000.0f, -1000.0f, -1000.0f, -1000.0f),
B_TRANSLATE_SYSTEM_NAME("Deskbar"), B_BORDERED_WINDOW,
"Deskbar", /* no B_TRANSLATE_SYSTEM_NAME, for binary compatibility */
B_BORDERED_WINDOW,
B_WILL_ACCEPT_FIRST_CLICK | B_NOT_ZOOMABLE | B_NOT_CLOSABLE
| B_NOT_MINIMIZABLE | B_NOT_MOVABLE | B_NOT_V_RESIZABLE
| B_AVOID_FRONT | B_ASYNCHRONOUS_CONTROLS,