diff options
author | fluxgen <fluxgen> | 2002-01-22 07:37:54 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-01-22 07:37:54 (GMT) |
commit | 57d7ce25386e7375f75bc19ffb6969338ad090f3 (patch) | |
tree | e63d3aa0522b657e32c974f3fdbb270f625c8863 /src/Toolbar.cc | |
parent | 68c5d384a713a955ab388a70fe608e177446352f (diff) | |
download | fluxbox_pavel-57d7ce25386e7375f75bc19ffb6969338ad090f3.zip fluxbox_pavel-57d7ce25386e7375f75bc19ffb6969338ad090f3.tar.bz2 |
fixed clear to erase
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r-- | src/Toolbar.cc | 2 |
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()-> |