[gnome-music/wip/mschraal/glib-logging: 31/65] artistalbumwidget: New logger



commit 888dff00e8fc754d5cda7afa7182fa2656660d9a
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Feb 1 14:44:49 2020 +0100

    artistalbumwidget: New logger

 gnomemusic/widgets/artistalbumwidget.py | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/gnomemusic/widgets/artistalbumwidget.py b/gnomemusic/widgets/artistalbumwidget.py
index b9c35ba1..2c7e5d73 100644
--- a/gnomemusic/widgets/artistalbumwidget.py
+++ b/gnomemusic/widgets/artistalbumwidget.py
@@ -24,7 +24,6 @@
 
 from gi.repository import GObject, Gtk
 
-from gnomemusic import log
 from gnomemusic.albumartcache import Art
 from gnomemusic.widgets.disclistboxwidget import DiscBox
 from gnomemusic.widgets.songwidget import SongWidget
@@ -48,9 +47,6 @@ class ArtistAlbumWidget(Gtk.Box):
         ),
     }
 
-    def __repr__(self):
-        return '<ArtistAlbumWidget>'
-
     def __init__(
             self, corealbum, selection_mode_allowed, size_group=None,
             cover_size_group=None):
@@ -128,12 +124,10 @@ class ArtistAlbumWidget(Gtk.Box):
 
         self.emit("song-activated", song_widget)
 
-    @log
     def select_all(self):
         """Select all items"""
         self._disc_list_box.select_all()
 
-    @log
     def deselect_all(self):
         """Deselect all items"""
         self._disc_list_box.deselect_all()


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