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



commit 700ea6a1aa23c1738b0cb444a032a607df66ae82
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 da189f7..8568acc 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -245,6 +245,7 @@ shell_show_overview_page (GnomeControlCenterPrivate *priv)
   gtk_window_set_default_icon_name (priv->default_window_icon);
   gtk_window_set_icon_name (GTK_WINDOW (priv->window),
                             priv->default_window_icon);
+  gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (priv->window), TRUE);
 
   /* clear any custom widgets */
   _shell_remove_all_custom_widgets (priv);



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