[gnome-music] Remove query printing



commit 1ec966c6c134afe4724d16718a8eba8baa564a47
Author: Seif Lotfy <seif lotfy com>
Date:   Thu Apr 11 12:06:07 2013 +0200

    Remove query printing

 src/grilo.js   |    2 --
 src/widgets.js |    3 ---
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/grilo.js b/src/grilo.js
index 5dce815..fd3ca34 100644
--- a/src/grilo.js
+++ b/src/grilo.js
@@ -82,7 +82,6 @@ const Grilo = new Lang.Class({
         options.set_flags (Grl.ResolutionFlags.FULL | Grl.ResolutionFlags.IDLE_RELAY);
         options.set_skip (offset);
         options.set_count(50);
-        print ("populateItems:", query);
         grilo.tracker.query(
             query,
                 [Grl.METADATA_KEY_ID, Grl.METADATA_KEY_TITLE, Grl.METADATA_KEY_ARTIST],
@@ -92,7 +91,6 @@ 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 352da4f..97fc0b2 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -182,7 +182,6 @@ const AlbumWidget = new Lang.Class({
         let path = "/usr/share/icons/gnome/scalable/actions/media-playback-start-symbolic.svg";
         nowPlayingSymbolRenderer.pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(path, -1, 16, true);
         nowPlayingSymbolRenderer.set_property("xalign", 0.0);
-        nowPlayingSymbolRenderer.set_property("expand", true);
         listWidget.add_renderer(nowPlayingSymbolRenderer, Lang.bind(this,
             function(col, cell, model, iter) {}
         ));
@@ -193,7 +192,6 @@ const AlbumWidget = new Lang.Class({
             new Gd.StyledTextRenderer({ xpad: 16 });
         typeRenderer.set_property("ellipsize", 3);
         typeRenderer.set_property("xalign", 0.0);
-        typeRenderer.set_property("expand", true);
         // This function is not neede, just add the renderer!
         listWidget.add_renderer(typeRenderer, Lang.bind(this,
             function(col, cell, model, iter) {}
@@ -206,7 +204,6 @@ const AlbumWidget = new Lang.Class({
         durationRenderer.add_class('dim-label');
         durationRenderer.set_property("ellipsize", 3);
         durationRenderer.set_property("xalign", 1.0);
-        durationRenderer.set_property("expand", true);
         listWidget.add_renderer(durationRenderer, Lang.bind(this,
             function(col, cell, model, iter) {
                 let item = model.get_value(iter, 5);


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