[gnome-music/wip/merge: 299/343] Merge pull request #82 from sumansai14/master
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 299/343] Merge pull request #82 from sumansai14/master
- Date: Thu, 25 Jul 2013 11:37:45 +0000 (UTC)
commit c2797b63fb71596ac7c9fd4c83b769f5e899464e
Merge: 7f18c28 19e25e0
Author: Arnel A. Borja <kyoushuu yahoo com>
Date: Sat Jul 20 06:33:33 2013 -0700
Merge pull request #82 from sumansai14/master
Clean the iter before changing the playlist.
gnomemusic/view.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --cc gnomemusic/view.py
index eb3b84c,fe48a2c..6eb0863
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@@ -283,14 -283,13 +283,14 @@@ class Songs(ViewContainer)
self.player.set_playing(True)
def update_model(self, player, playlist, currentIter):
- if playlist != self._model:
- return False
if self.iter_to_clean:
self._model.set_value(self.iter_to_clean, 10, False)
+ if playlist != self._model:
+ return False
self._model.set_value(currentIter, 10, True)
- self.iter_to_clean = currentIter.copy()
+ if self._model.get_value(currentIter, 8) != self.errorIconName:
+ self.iter_to_clean = currentIter.copy()
return False
def _add_item(self, source, param, item):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]