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, 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();