[gnome-music/wip/mschraal/disclistbox-cleanup: 5/9] disclistboxwidget: Remove DiscSongsFlowBox



commit 5f11290e6eaa7a7b82a7994c4db6f169f56c9ec0
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Jul 18 17:42:09 2019 +0200

    disclistboxwidget: Remove DiscSongsFlowBox
    
    No longer used.

 gnomemusic/widgets/disclistboxwidget.py | 19 -------------------
 1 file changed, 19 deletions(-)
---
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index 10c5bf3c..c911aa1a 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -29,24 +29,6 @@ from gnomemusic import log
 from gnomemusic.widgets.songwidget import SongWidget
 
 
-class DiscSongsFlowBox(Gtk.ListBox):
-    """FlowBox containing the songs on one disc
-
-    DiscSongsFlowBox allows setting the number of columns to
-    use.
-    """
-    __gtype_name__ = 'DiscSongsFlowBox'
-
-    def __repr__(self):
-        return '<DiscSongsFlowBox>'
-
-    @log
-    def __init__(self):
-        """Initialize
-        """
-        super().__init__(selection_mode=Gtk.SelectionMode.NONE)
-
-
 @Gtk.Template(resource_path='/org/gnome/Music/ui/DiscBox.ui')
 class DiscBox(Gtk.Box):
     """A widget which compromises one disc
@@ -57,7 +39,6 @@ class DiscBox(Gtk.Box):
     __gtype_name__ = 'DiscBox'
 
     _disc_label = Gtk.Template.Child()
-    # _disc_songs_flowbox = Gtk.Template.Child()
     _list_box = Gtk.Template.Child()
 
     __gsignals__ = {


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