diff options
author | simonb <simonb> | 2006-05-07 10:08:25 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-05-07 10:08:25 (GMT) |
commit | faf043bef92338fe976e639e94d309764065b8b7 (patch) | |
tree | 6554ea89ff6064465bd605da8f640ee43212b356 /src/Workspace.cc | |
parent | ac098b4d0f0640b2997ff674a5c1b3447b6ba09a (diff) | |
download | fluxbox_pavel-faf043bef92338fe976e639e94d309764065b8b7.zip fluxbox_pavel-faf043bef92338fe976e639e94d309764065b8b7.tar.bz2 |
more utf8 changes, notably window titles
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 343772a..c8650ca 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -38,6 +38,7 @@ | |||
38 | #include "FbTk/I18n.hh" | 38 | #include "FbTk/I18n.hh" |
39 | #include "FbTk/MenuItem.hh" | 39 | #include "FbTk/MenuItem.hh" |
40 | #include "FbTk/StringUtil.hh" | 40 | #include "FbTk/StringUtil.hh" |
41 | #include "FbTk/FbString.hh" | ||
41 | 42 | ||
42 | // use GNU extensions | 43 | // use GNU extensions |
43 | #ifndef _GNU_SOURCE | 44 | #ifndef _GNU_SOURCE |
@@ -376,7 +377,7 @@ void Workspace::setName(const std::string &name) { | |||
376 | _FBTEXT(Workspace, DefaultNameFormat, | 377 | _FBTEXT(Workspace, DefaultNameFormat, |
377 | "Workspace %d", "Default workspace names, with a %d for the workspace number"), | 378 | "Workspace %d", "Default workspace names, with a %d for the workspace number"), |
378 | m_id + 1); //m_id starts at 0 | 379 | m_id + 1); //m_id starts at 0 |
379 | m_name = tname; | 380 | m_name = FbTk::FbStringUtil::LocaleStrToFb(tname); |
380 | } | 381 | } |
381 | 382 | ||
382 | screen().updateWorkspaceNamesAtom(); | 383 | screen().updateWorkspaceNamesAtom(); |