[gnome-music/wip/mschraal/glib-logging: 6/43] albumcover: New logger
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/glib-logging: 6/43] albumcover: New logger
- Date: Sat, 1 Feb 2020 15:45:09 +0000 (UTC)
commit 8bc2104994f40c9041673e36f44446d5bdc3f547
Author: Marinus Schraal <mschraal gnome org>
Date: Sat Feb 1 14:42:31 2020 +0100
albumcover: New logger
gnomemusic/widgets/albumcover.py | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/gnomemusic/widgets/albumcover.py b/gnomemusic/widgets/albumcover.py
index 7b9cfaa7..89e97798 100644
--- a/gnomemusic/widgets/albumcover.py
+++ b/gnomemusic/widgets/albumcover.py
@@ -26,7 +26,6 @@ import gi
gi.require_version('Grl', '0.3')
from gi.repository import Gdk, GObject, Gtk
-from gnomemusic import log
from gnomemusic.albumartcache import Art
from gnomemusic.corealbum import CoreAlbum
from gnomemusic.widgets.twolinetip import TwoLineTip
@@ -54,10 +53,6 @@ class AlbumCover(Gtk.FlowBoxChild):
selection_mode = GObject.Property(
type=bool, default=False, flags=GObject.ParamFlags.READWRITE)
- def __repr__(self):
- return '<AlbumCover>'
-
- @log
def __init__(self, corealbum):
"""Initialize the AlbumCover
@@ -122,7 +117,6 @@ class AlbumCover(Gtk.FlowBoxChild):
return self._corealbum
@Gtk.Template.Callback()
- @log
def _on_album_event(self, evbox, event, data=None):
modifiers = Gtk.accelerator_get_default_mod_mask()
if ((event.get_state() & modifiers) == Gdk.ModifierType.CONTROL_MASK
@@ -133,7 +127,6 @@ class AlbumCover(Gtk.FlowBoxChild):
self.props.selected = not self.props.selected
@Gtk.Template.Callback()
- @log
def _on_tooltip_query(self, widget, x, y, kb, tooltip, data=None):
tooltip.set_custom(self._tooltip)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]