[gnome-music/wip/mschraal/albumsview-selection-rework: 17/17] disclistboxwidget: Rename to discbox




commit da7a87da5ff33d9496cee4124a87ecce8a8029f3
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Sep 11 01:17:40 2021 +0200

    disclistboxwidget: Rename to discbox
    
    DiscListBox got removed, make the filename match the remaining class.

 gnomemusic/widgets/albumwidget.py                       | 2 +-
 gnomemusic/widgets/{disclistboxwidget.py => discbox.py} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/widgets/albumwidget.py b/gnomemusic/widgets/albumwidget.py
index aff8e0c3b..a1bdfd47b 100644
--- a/gnomemusic/widgets/albumwidget.py
+++ b/gnomemusic/widgets/albumwidget.py
@@ -32,7 +32,7 @@ from gi.repository import Gfm, Gio, GLib, GObject, Gtk, Handy
 from gnomemusic.corealbum import CoreAlbum
 from gnomemusic.defaulticon import DefaultIcon
 from gnomemusic.utils import ArtSize
-from gnomemusic.widgets.disclistboxwidget import DiscBox
+from gnomemusic.widgets.discbox import DiscBox
 from gnomemusic.widgets.playlistdialog import PlaylistDialog
 if typing.TYPE_CHECKING:
     from gnomemusic.application import Application
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/discbox.py
similarity index 98%
rename from gnomemusic/widgets/disclistboxwidget.py
rename to gnomemusic/widgets/discbox.py
index ad6e202e6..5979eb38b 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/discbox.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2016 The GNOME Music Developers
+# Copyright (c) 2021 The GNOME Music Developers
 #
 # GNOME Music is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -41,7 +41,7 @@ class DiscBox(Gtk.ListBoxRow):
     """A widget which compromises one disc
 
     DiscBox contains a disc label for the disc number on top
-    with a DiscSongsFlowBox beneath.
+    with a GtkListBox beneath.
     """
     __gtype_name__ = 'DiscBox'
 


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