aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index e3f9d74..46d3078 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -374,10 +374,9 @@ void Workspace::setName(const std::string &name) {
374 _FB_USES_NLS; 374 _FB_USES_NLS;
375 char tname[128]; 375 char tname[128];
376 sprintf(tname, 376 sprintf(tname,
377 _FBTEXT(Workspace, DefaultNameFormat, 377 _FB_XTEXT(Workspace, DefaultNameFormat,
378 "Workspace %d", "Default workspace names, with a %d for the workspace number").c_str(), 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);
381 } 380 }
382 381
383 screen().updateWorkspaceNamesAtom(); 382 screen().updateWorkspaceNamesAtom();