summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlambroslambrou@google.com <lambroslambrou@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 23:25:20 +0000
committerlambroslambrou@google.com <lambroslambrou@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 23:25:20 +0000
commit0e9ea8e8a71d55e9b1fa8137c9f04810da70f138 (patch)
tree8a6153c99e5369d3d4cec06d8f658e45a9f32859
parent6cb1047f3934c5a845da006fd625fd0e241f7e58 (diff)
downloadchromium_src-0e9ea8e8a71d55e9b1fa8137c9f04810da70f138.zip
chromium_src-0e9ea8e8a71d55e9b1fa8137c9f04810da70f138.tar.gz
chromium_src-0e9ea8e8a71d55e9b1fa8137c9f04810da70f138.tar.bz2
Remove minimize/close buttons from DisconnectWindowLinux.
BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7184002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89421 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--remoting/host/disconnect_window_linux.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/host/disconnect_window_linux.cc b/remoting/host/disconnect_window_linux.cc
index 8b78c77..2aa8798 100644
--- a/remoting/host/disconnect_window_linux.cc
+++ b/remoting/host/disconnect_window_linux.cc
@@ -56,6 +56,9 @@ void DisconnectWindowLinux::CreateWindow() {
// Try to keep the window always visible.
gtk_window_stick(window);
gtk_window_set_keep_above(window, TRUE);
+ // Utility windows have no minimize button or taskbar presence.
+ gtk_window_set_type_hint(window, GDK_WINDOW_TYPE_HINT_UTILITY);
+ gtk_window_set_deletable(window, FALSE);
g_signal_connect(disconnect_window_, "delete-event",
G_CALLBACK(OnWindowDeleteThunk), this);