aboutsummaryrefslogtreecommitdiff
path: root/src/Workspacemenu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspacemenu.cc')
-rw-r--r--src/Workspacemenu.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Workspacemenu.cc b/src/Workspacemenu.cc
index dace287..05f5072 100644
--- a/src/Workspacemenu.cc
+++ b/src/Workspacemenu.cc
@@ -86,18 +86,3 @@ void Workspacemenu::itemSelected(int button, int index) {
86 } 86 }
87} 87}
88 88
89void Workspacemenu::removeWorkspace(unsigned int id) {
90 if (id<getCount()) {
91 remove(id+2); // + 2 is where workspaces starts
92 #ifdef DEBUG
93 using namespace std;
94 cerr<<__FILE__<<"("<<__LINE__<<"): Removing "<<id<<endl;
95 #endif
96 }
97}
98
99void Workspacemenu::addWorkspace(Workspace *wkspc) {
100 assert(wkspc);
101 insert(wkspc->getName(), wkspc->getMenu(),
102 wkspc->getWorkspaceID() + 2);
103}