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




commit 38c86c2e1028566920c7d39fe7076edc8dd98ab0
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 2c9958a2f..8bb52f2d3 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]