projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b2484
)
disable the current workspace in the send-to menu
author
Dana Jansens
<danakj@orodu.net>
Tue, 28 May 2002 11:55:43 +0000
(11:55 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 28 May 2002 11:55:43 +0000
(11:55 +0000)
src/Windowmenu.cc
patch
|
blob
|
history
diff --git
a/src/Windowmenu.cc
b/src/Windowmenu.cc
index 7de61dbdd2bc3a59e91a8b508a03684a10083dc2..089cce575cb5e5564ff5dcd7c1a67925c2bc223f 100644
(file)
--- a/
src/Windowmenu.cc
+++ b/
src/Windowmenu.cc
@@
-193,6
+193,7
@@
void Windowmenu::SendtoWorkspacemenu::update(void) {
} else {
changeItemLabel(i, getScreen()->getWorkspace(i)->getName());
}
+ setItemEnabled(i, i != getScreen()->getCurrentWorkspaceID());
}
Basemenu::update();