aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-22 07:37:54 (GMT)
committerfluxgen <fluxgen>2002-01-22 07:37:54 (GMT)
commit57d7ce25386e7375f75bc19ffb6969338ad090f3 (patch)
treee63d3aa0522b657e32c974f3fdbb270f625c8863
parent68c5d384a713a955ab388a70fe608e177446352f (diff)
downloadfluxbox-57d7ce25386e7375f75bc19ffb6969338ad090f3.zip
fluxbox-57d7ce25386e7375f75bc19ffb6969338ad090f3.tar.bz2
fixed clear to erase
-rw-r--r--src/Toolbar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index ef0cfd1..29e3685 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -1117,7 +1117,7 @@ void Toolbar::keyPressEvent(XKeyEvent *ke) {
1117 if (ks == XK_Return) //change workspace name if keypress = Return 1117 if (ks == XK_Return) //change workspace name if keypress = Return
1118 screen->getCurrentWorkspace()->setName(const_cast<char *>(new_workspace_name.c_str())); 1118 screen->getCurrentWorkspace()->setName(const_cast<char *>(new_workspace_name.c_str()));
1119 1119
1120 new_workspace_name.clear(); //erase temporary workspace name 1120 new_workspace_name.erase(); //erase temporary workspace name
1121 1121
1122 screen->getCurrentWorkspace()->getMenu()->hide(); 1122 screen->getCurrentWorkspace()->getMenu()->hide();
1123 screen->getWorkspacemenu()-> 1123 screen->getWorkspacemenu()->