[gnome-music/wip/mschraal/glib-logging: 29/65] artistalbumswidget: New logger



commit ffbb0e49188ed4a45f25aba6b2f1840562b759f7
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Feb 1 14:43:41 2020 +0100

    artistalbumswidget: New logger

 gnomemusic/widgets/artistalbumswidget.py | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/gnomemusic/widgets/artistalbumswidget.py b/gnomemusic/widgets/artistalbumswidget.py
index af8e9bc3..e87922da 100644
--- a/gnomemusic/widgets/artistalbumswidget.py
+++ b/gnomemusic/widgets/artistalbumswidget.py
@@ -24,7 +24,6 @@
 
 from gi.repository import GObject, Gtk
 
-from gnomemusic import log
 from gnomemusic.player import PlayerPlaylist
 from gnomemusic.widgets.artistalbumwidget import ArtistAlbumWidget
 
@@ -41,10 +40,6 @@ class ArtistAlbumsWidget(Gtk.ListBox):
 
     selection_mode = GObject.Property(type=bool, default=False)
 
-    def __repr__(self):
-        return '<ArtistAlbumsWidget>'
-
-    @log
     def __init__(
             self, coreartist, application, selection_mode_allowed=False):
         super().__init__()
@@ -101,13 +96,11 @@ class ArtistAlbumsWidget(Gtk.ListBox):
 
         return row
 
-    @log
     def select_all(self):
         """Select all items"""
         for widget in self._widgets:
             widget.select_all()
 
-    @log
     def deselect_all(self):
         """Deselect all items"""
         for widget in self._widgets:


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