[gnome-music/wip/mschraal/playlistcontrols-actions-rework] playlistcontextmenu: Minor cleanups
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/playlistcontrols-actions-rework] playlistcontextmenu: Minor cleanups
- Date: Sun, 5 Jan 2020 14:49:43 +0000 (UTC)
commit 97fd2326b2cc9fa0a92f008aed9553966b099f39
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Jan 5 15:24:25 2020 +0100
playlistcontextmenu: Minor cleanups
* Remove __repr__
* Remove @log
gnomemusic/widgets/playlistcontextmenu.py | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/gnomemusic/widgets/playlistcontextmenu.py b/gnomemusic/widgets/playlistcontextmenu.py
index e0cd8f2c..27efbe2e 100644
--- a/gnomemusic/widgets/playlistcontextmenu.py
+++ b/gnomemusic/widgets/playlistcontextmenu.py
@@ -24,8 +24,6 @@
from gi.repository import Gio, Gtk
-from gnomemusic import log
-
@Gtk.Template(resource_path='/org/gnome/Music/ui/PlaylistContextMenu.ui')
class PlaylistContextMenu(Gtk.Popover):
@@ -34,10 +32,6 @@ class PlaylistContextMenu(Gtk.Popover):
_song_menu = Gtk.Template.Child()
- def __repr__(self):
- return '<PlaylistContextMenu>'
-
- @log
def __init__(self, application, view):
"""Initialize
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]