diff options
author | simonb <simonb> | 2006-05-20 15:08:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-05-20 15:08:14 (GMT) |
commit | 0861f3a9073ccd016302af26ff992fa19331a02d (patch) | |
tree | f1a2276449a5fc9b27f2d1afa5ffff4410141345 /src/Workspace.cc | |
parent | 5ddabb0f390f69db793b5a6e40be9f94b8f83136 (diff) | |
download | fluxbox_pavel-0861f3a9073ccd016302af26ff992fa19331a02d.zip fluxbox_pavel-0861f3a9073ccd016302af26ff992fa19331a02d.tar.bz2 |
improve native language handling, move messages and menu labels to
FbTk::FbString
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index c8650ca..e3f9d74 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -375,14 +375,14 @@ void Workspace::setName(const std::string &name) { | |||
375 | char tname[128]; | 375 | char tname[128]; |
376 | sprintf(tname, | 376 | sprintf(tname, |
377 | _FBTEXT(Workspace, DefaultNameFormat, | 377 | _FBTEXT(Workspace, DefaultNameFormat, |
378 | "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").c_str(), |
379 | m_id + 1); //m_id starts at 0 | 379 | m_id + 1); //m_id starts at 0 |
380 | m_name = FbTk::FbStringUtil::LocaleStrToFb(tname); | 380 | m_name = FbTk::FbStringUtil::LocaleStrToFb(tname); |
381 | } | 381 | } |
382 | 382 | ||
383 | screen().updateWorkspaceNamesAtom(); | 383 | screen().updateWorkspaceNamesAtom(); |
384 | 384 | ||
385 | menu().setLabel(m_name.c_str()); | 385 | menu().setLabel(m_name); |
386 | menu().updateMenu(); | 386 | menu().updateMenu(); |
387 | } | 387 | } |
388 | 388 | ||