[gnome-music/wip/merge: 172/343] widgets: get_iter_first returns iter (fixed clause)
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 172/343] widgets: get_iter_first returns iter (fixed clause)
- Date: Thu, 25 Jul 2013 11:27:27 +0000 (UTC)
commit bbdbf4447c252d4332812a247257506c61caa13b
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jul 16 17:33:29 2013 +0200
widgets: get_iter_first returns iter (fixed clause)
gnomemusic/widgets.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 3f40fc3..5dff967 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -267,7 +267,7 @@ class AlbumWidget(Gtk.EventBox):
return False
currentSong = playlist.get_value(currentIter, 5)
iter = playlist.get_iter_first()
- if iter is not None:
+ if iter is None:
return False
songPassed = False
while True:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]