[gnome-weather] Hide titlebar when maximized



commit b8a91dcda2e6c29ba3971094129d16f14587e874
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]