[gnome-music] view: don't clear model - breaks existing album art



commit 812c1621bd1a5b8252862f8b284b0301879d9353
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Wed Jul 15 14:06:19 2015 +0200

    view: don't clear model - breaks existing album art

 gnomemusic/grilo.py |    1 -
 gnomemusic/view.py  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py
index 80a27b0..6a9eb4e 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -163,7 +163,6 @@ class Grilo(GObject.GObject):
         self.changes_pending['Artists'] = True
         self.changes_pending['Songs'] = True
         self.emit('changes-pending')
-        print("_on_content_changed-")
         return False
 
     @log
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 17c6d7a..06f802b 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -310,7 +310,6 @@ class Albums(ViewContainer):
         if (self._init and self.header_bar._selectionMode is False):
             self._offset = 0
             self._init = True
-            self.model.clear()
             self.populate()
             grilo.changes_pending['Albums'] = False
 


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