[gnome-music/wip/gtkmaster: 2/3] Set headerbar as titlebar



commit 6262e9f207288bd0d4c5628a7e132888f0b8cd49
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu May 30 18:47:16 2013 +0200

    Set headerbar as titlebar

 src/window.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/window.js b/src/window.js
index 1d7f25e..84155a0 100644
--- a/src/window.js
+++ b/src/window.js
@@ -42,7 +42,6 @@ const MainWindow = new Lang.Class({
             application: app,
             title: _('Music'),
             window_position: Gtk.WindowPosition.CENTER,
-            hide_titlebar_when_maximized: true
         });
 
         this.set_size_request(887, 640);
@@ -58,6 +57,7 @@ const MainWindow = new Lang.Class({
         this.player = new Player.Player();
 
         this.toolbar = new Toolbar.Toolbar();
+        this.set_titlebar(this.toolbar);
         this._stack = new Gtk.Stack({
             transition_type: Gtk.StackTransitionType.CROSSFADE,
             transition_duration: 100,


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