aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/CConn.java
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2015-08-20 18:27:15 -0400
committerBrian P. Hinz <bphinz@users.sf.net>2015-08-20 18:27:15 -0400
commit09e150762084e6ba9b169c0fefe0294b2c9c100e (patch)
tree5e70b50476aa48f300642d7c3a37034d68811831 /java/com/tigervnc/vncviewer/CConn.java
parent4644abb3e6024d960f98b09c7b11d8dd89c3772b (diff)
downloadtigervnc-09e150762084e6ba9b169c0fefe0294b2c9c100e.tar.gz
tigervnc-09e150762084e6ba9b169c0fefe0294b2c9c100e.zip
Disable window functions for embedded applet
Diffstat (limited to 'java/com/tigervnc/vncviewer/CConn.java')
-rw-r--r--java/com/tigervnc/vncviewer/CConn.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java
index 280b1b4f..88b25ec0 100644
--- a/java/com/tigervnc/vncviewer/CConn.java
+++ b/java/com/tigervnc/vncviewer/CConn.java
@@ -545,6 +545,9 @@ public class CConn extends CConnection implements
}
public void setEmbeddedFeatures(boolean s) {
+ menu.restore.setEnabled(s);
+ menu.minimize.setEnabled(s);
+ menu.maximize.setEnabled(s);
menu.fullScreen.setEnabled(s);
menu.newConn.setEnabled(s);
options.fullScreen.setEnabled(s);