summaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc6
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