[gnome-music] disclistboxwidget: Fix select all in album widget



commit ca712589ad188256def0a5620639337af9997d24
Author: albfan <albertofanjul gmail com>
Date:   Wed Jan 4 07:55:50 2017 +0100

    disclistboxwidget: Fix select all in album widget
    
    An oversight from the flowbox->box move.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776849

 gnomemusic/widgets/disclistboxwidget.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index 1e09acb..c6605df 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -474,7 +474,7 @@ class DiscListBox(Gtk.Box):
     def select_all(self):
         """Select all songs"""
         def child_select_all(child):
-            child.get_child().select_all()
+            child.select_all()
 
         self.foreach(child_select_all)
 
@@ -482,7 +482,7 @@ class DiscListBox(Gtk.Box):
     def select_none(self):
         """Deselect all songs"""
         def child_select_none(child):
-            child.get_child().select_none()
+            child.select_none()
 
         self.foreach(child_select_none)
 


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