aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-02-17 17:39:00 (GMT)
committermarkt <markt>2007-02-17 17:39:00 (GMT)
commit2f130ce836c85f40df95a35174fff0cbd0242834 (patch)
tree937a04d0a4b5416f72340128dff2a1b40a566467 /src/Screen.cc
parent58eb385351995aa7b5d9bbecd2b0dfa1d31e0dc8 (diff)
downloadfluxbox_pavel-2f130ce836c85f40df95a35174fff0cbd0242834.zip
fluxbox_pavel-2f130ce836c85f40df95a35174fff0cbd0242834.tar.bz2
update workspace names on reconfig, and don't truncate list of names when writing rc
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 4097dd7..2a4ea9b 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1503,6 +1503,9 @@ void BScreen::updateAvailableWorkspaceArea() {
1503 1503
1504void BScreen::addWorkspaceName(const char *name) { 1504void BScreen::addWorkspaceName(const char *name) {
1505 m_workspace_names.push_back(FbTk::FbStringUtil::LocaleStrToFb(name)); 1505 m_workspace_names.push_back(FbTk::FbStringUtil::LocaleStrToFb(name));
1506 Workspace *wkspc = getWorkspace(m_workspace_names.size()-1);
1507 if (wkspc)
1508 wkspc->setName(m_workspace_names.back());
1506} 1509}
1507 1510
1508 1511