How to input chinese word?

DeskBar 的相关补丁如下,用于解决输入法菜单空项的问题。

diff --git a/src/apps/deskbar/BarWindow.cpp b/src/apps/deskbar/BarWindow.cpp
index 418384de..bf88dcdf 100644
--- a/src/apps/deskbar/BarWindow.cpp
+++ b/src/apps/deskbar/BarWindow.cpp
@@ -85,7 +85,7 @@ 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", 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,

运行截图:

2 Likes