[gnome-music] Replace other occurrencies Gd.Stack with Gtk.Stack



commit 4ed13da49200b764e41d1b033ea5a8e362db837e
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu May 16 13:24:40 2013 +0200

    Replace other occurrencies Gd.Stack with Gtk.Stack
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700307

 src/toolbar.js |    2 +-
 src/view.js    |    4 ++--
 src/window.js  |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/toolbar.js b/src/toolbar.js
index 8d3e57d..388130c 100644
--- a/src/toolbar.js
+++ b/src/toolbar.js
@@ -45,7 +45,7 @@ const Toolbar = new Lang.Class({
 
     _init: function() {
         this.parent();
-        this._stack_switcher = new Gd.StackSwitcher ();
+        this._stack_switcher = new Gtk.StackSwitcher ();
         this.set_custom_title (null);
         this._addBackButton();
     },
diff --git a/src/view.js b/src/view.js
index 89d5ff3..0fde095 100644
--- a/src/view.js
+++ b/src/view.js
@@ -278,10 +278,10 @@ Signals.addSignalMethods(ViewContainer.prototype);
 //Class for the Empty View
 const Empty = new Lang.Class({
     Name: "Empty",
-    Extends: Gd.Stack,
+    Extends: Gtk.Stack,
 
     _init: function(header_bar,player){
-        this.parent({transition_type: Gd.StackTransitionType.CROSSFADE});
+        this.parent({transition_type: Gtk.StackTransitionType.CROSSFADE});
         let builder = new Gtk.Builder();
         builder.add_from_resource('/org/gnome/music/NoMusic.ui');
         let widget = builder.get_object('container');
diff --git a/src/window.js b/src/window.js
index 1fd5448..9b390ae 100644
--- a/src/window.js
+++ b/src/window.js
@@ -58,7 +58,7 @@ const MainWindow = new Lang.Class({
         this.player = new Player.Player();
 
         this.toolbar = new Toolbar.Toolbar();
-        this._stack = new Gd.Stack({
+        this._stack = new Gtk.Stack({
             visible: true
         });
 


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