[gnome-control-center] Hide window titlebar when maximized



commit 9c2e8c28f53025e3aa5d9596b36f1581897d0301
Author: Jon McCann <jmccann redhat com>
Date:   Thu Apr 12 16:02:36 2012 -0400

    Hide window titlebar when maximized
    
    https://bugzilla.gnome.org/show_bug.cgi?id=673869

 shell/gnome-control-center.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 067d2c2..412a20e 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -1225,6 +1225,7 @@ gnome_control_center_init (GnomeControlCenter *self)
 
   /* connect various signals */
   priv->window = W (priv->builder, "main-window");
+  gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (priv->window), TRUE);
   screen = gtk_widget_get_screen (priv->window);
   g_signal_connect (screen, "monitors-changed", G_CALLBACK (monitors_changed_cb), self);
   g_signal_connect (priv->window, "configure-event", G_CALLBACK (main_window_configure_cb), self);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]