aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-10-19 17:12:44 (GMT)
committerfluxgen <fluxgen>2002-10-19 17:12:44 (GMT)
commit780d4583cc7d03130adc3d7e484a09d365d380e7 (patch)
tree0d15879d3ead80c6a9b5b782413e9a0e1108522c /src
parent5b08f716d0431639ae116f8022b3a14993852307 (diff)
downloadfluxbox-780d4583cc7d03130adc3d7e484a09d365d380e7.zip
fluxbox-780d4583cc7d03130adc3d7e484a09d365d380e7.tar.bz2
tab option
Diffstat (limited to 'src')
-rw-r--r--src/Windowmenu.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Windowmenu.cc b/src/Windowmenu.cc
index b4219f1..b798e67 100644
--- a/src/Windowmenu.cc
+++ b/src/Windowmenu.cc
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Windowmenu.cc,v 1.19 2002/09/10 11:06:26 fluxgen Exp $ 24// $Id: Windowmenu.cc,v 1.20 2002/10/19 17:12:44 fluxgen Exp $
25 25
26//use GNU extensions 26//use GNU extensions
27#ifndef _GNU_SOURCE 27#ifndef _GNU_SOURCE
@@ -110,7 +110,7 @@ sendGroupToMenu(this) {
110 setItemEnabled(3, window.isIconifiable()); 110 setItemEnabled(3, window.isIconifiable());
111 setItemEnabled(4, window.isMaximizable()); 111 setItemEnabled(4, window.isMaximizable());
112 setItemEnabled(9, window.isClosable()); 112 setItemEnabled(9, window.isClosable());
113 setItemEnabled(10, true); //we should always be able to enable the tab 113 setItemEnabled(10, window.isResizable()); // tab option
114 114
115} 115}
116 116
@@ -199,7 +199,8 @@ void Windowmenu::reconfigure() {
199 setItemEnabled(2, window.isIconifiable()); 199 setItemEnabled(2, window.isIconifiable());
200 setItemEnabled(3, window.isMaximizable()); 200 setItemEnabled(3, window.isMaximizable());
201 setItemEnabled(8, window.isClosable()); 201 setItemEnabled(8, window.isClosable());
202 202 setItemEnabled(10, window.isResizable()); // tab option only enabled if resizable
203
203 sendToMenu.reconfigure(); 204 sendToMenu.reconfigure();
204 sendGroupToMenu.reconfigure(); 205 sendGroupToMenu.reconfigure();
205 206