[gnome-music: 1/9] fix for #109, use destroy instead of remove.



commit 8e2ef79f7cc261923664d3a717927137b05d4b4d
Author: Sai <suman sai14 gmail com>
Date:   Sat Jul 27 14:07:31 2013 +0530

    fix for #109, use destroy instead of remove.

 gnomemusic/view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 5633648..2d0a84f 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -480,7 +480,7 @@ class Artists (ViewContainer):
     def _on_item_activated(self, widget, item_id, path):
         children = self._artistAlbumsWidget.get_children()
         for child in children:
-            self._artistAlbumsWidget.remove(child)
+            child.destroy()
         _iter = self._model.get_iter(path)
         self._last_selection = _iter
         artist = self._model.get_value(_iter, 2)


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