[gnome-music/wip/mschraal/glib-logging: 32/43] searchview: New logger
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/glib-logging: 32/43] searchview: New logger
- Date: Sat, 1 Feb 2020 15:47:20 +0000 (UTC)
commit 3270f7f2f9d58e65658e63887ca133b062882306
Author: Marinus Schraal <mschraal gnome org>
Date: Sat Feb 1 15:10:34 2020 +0100
searchview: New logger
gnomemusic/views/searchview.py | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/gnomemusic/views/searchview.py b/gnomemusic/views/searchview.py
index 9bc223c2..7b4f1a6d 100644
--- a/gnomemusic/views/searchview.py
+++ b/gnomemusic/views/searchview.py
@@ -25,7 +25,6 @@
from gettext import gettext as _
from gi.repository import Gdk, GObject, Gtk
-from gnomemusic import log
from gnomemusic.player import PlayerPlaylist
from gnomemusic.search import Search
from gnomemusic.widgets.albumcover import AlbumCover
@@ -61,10 +60,6 @@ class SearchView(Gtk.Stack):
_view_all_albums = Gtk.Template.Child()
_view_all_artists = Gtk.Template.Child()
- def __repr__(self):
- return '<SearchView>'
-
- @log
def __init__(self, application, player=None):
"""Initialize SearchView
@@ -407,7 +402,6 @@ class SearchView(Gtk.Stack):
def deselect_all(self):
self._select_all(False)
- @log
def _back_button_clicked(self, widget, data=None):
if self.get_visible_child() == self._search_results:
return
@@ -420,7 +414,6 @@ class SearchView(Gtk.Stack):
self.props.search_mode_active = True
self._headerbar.props.state = HeaderBar.State.MAIN
- @log
def _on_selection_mode_changed(self, widget, data=None):
if (not self.props.selection_mode
and self.get_parent().get_visible_child() == self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]