[gnome-music] Fixed albumWidget spacing and added some debugging prints



commit 86f1087a38f86aef7480d612f98993f8c28d527f
Author: Seif Lotfy <seif lotfy com>
Date:   Wed Apr 3 19:54:41 2013 +0200

    Fixed albumWidget spacing and added some debugging prints

 src/grilo.js   |    2 ++
 src/widgets.js |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/grilo.js b/src/grilo.js
index 44a6ed8..6b6c96b 100644
--- a/src/grilo.js
+++ b/src/grilo.js
@@ -78,6 +78,7 @@ const Grilo = new Lang.Class({
         options.set_flags (Grl.ResolutionFlags.FULL | Grl.ResolutionFlags.IDLE_RELAY);
         options.set_count(50);
         query = query + " OFFSET " + offset;
+        print ("populateItems:", query);
         grilo.tracker.query(
             query,
                 [Grl.METADATA_KEY_ID, Grl.METADATA_KEY_TITLE, Grl.METADATA_KEY_ARTIST],
@@ -87,6 +88,7 @@ const Grilo = new Lang.Class({
 
     getAlbumSongs: function (album_id, callback) {
         var query =  Query.album_songs(album_id);
+        print ("getAlbumSongs:", query);
         var options = Grl.OperationOptions.new(null);
         options.set_flags (Grl.ResolutionFlags.FULL | Grl.ResolutionFlags.IDLE_RELAY);
         grilo.tracker.query(
diff --git a/src/widgets.js b/src/widgets.js
index 609b1a2..a8934f2 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -136,7 +136,7 @@ const AlbumWidget = new Lang.Class({
         hbox.pack_start (new Gtk.Label({label: ""}), true, true, 0)
         hbox.pack_start (this.vbox, false, false, 0)
         this.hbox.pack_start (hbox, true, true, 64);
-        this.hbox.pack_start (this.box, true, true, 6);
+        this.hbox.pack_start (this.box, true, true, 0);
 
         this.get_style_context ().add_class ("view");
         this.get_style_context ().add_class ("content-view");


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