[gnome-music/wip/mschraal/glib-logging: 7/43] artistalbumswidget: New logger



commit a4c0b990795eab8ef1d1a8d185233dce9aae2222
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]