[gnome-weather/gnome-3-8] Hide titlebar when maximized



commit d257e16c16387aa4f983806b376314a8a39654a3
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Mar 4 19:57:53 2013 -0500

    Hide titlebar when maximized

 src/window.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/window.js b/src/window.js
index aeb7a9c..f5efb55 100644
--- a/src/window.js
+++ b/src/window.js
@@ -45,7 +45,8 @@ const MainWindow = new Lang.Class({
     Extends: Gtk.ApplicationWindow,
 
     _init: function(params) {
-        params = Params.fill(params, { width_request: 700,
+        params = Params.fill(params, { hide_titlebar_when_maximized: true,
+                                       width_request: 700,
                                        height_request: 520 });
         this.parent(params);
 


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