From 08f748dea76c8d8ff9aee603916b58676235f66e Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 24 Feb 2023 11:38:20 -0500 Subject: [PATCH] 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. --- src/apps/deskbar/BarWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/deskbar/BarWindow.cpp b/src/apps/deskbar/BarWindow.cpp index 418384dede..74725a4cf4 100644 --- a/src/apps/deskbar/BarWindow.cpp +++ b/src/apps/deskbar/BarWindow.cpp @@ -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,