[gnome-music/wip/mschraal/glib-logging: 36/65] headerbar: New logger
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/glib-logging: 36/65] headerbar: New logger
- Date: Sat, 1 Feb 2020 15:19:28 +0000 (UTC)
commit 48a08ecfff1fb941efc6529bc79a113dd6f2bf63
Author: Marinus Schraal <mschraal gnome org>
Date: Sat Feb 1 14:49:05 2020 +0100
headerbar: New logger
gnomemusic/widgets/headerbar.py | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/gnomemusic/widgets/headerbar.py b/gnomemusic/widgets/headerbar.py
index 07a669c0..bdae817f 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -27,7 +27,6 @@ from enum import IntEnum
from gettext import gettext as _, ngettext
from gi.repository import GObject, Gtk
-from gnomemusic import log
from gnomemusic.widgets.appmenu import AppMenu
@@ -103,10 +102,6 @@ class HeaderBar(Gtk.HeaderBar):
selection_mode_allowed = GObject.Property(type=bool, default=True)
stack = GObject.Property(type=Gtk.Stack)
- def __repr__(self):
- return "<HeaderBar>"
-
- @log
def __init__(self, application):
"""Initialize Headerbar
@@ -210,16 +205,13 @@ class HeaderBar(Gtk.HeaderBar):
self._stack_switcher.show()
@Gtk.Template.Callback()
- @log
def _on_back_button_clicked(self, widget=None):
self.emit('back-button-clicked')
@Gtk.Template.Callback()
- @log
def _on_cancel_button_clicked(self, button):
self.props.selection_mode = False
- @log
def _update(self):
if self.props.selection_mode:
self.props.custom_title = self._selection_menu
@@ -239,7 +231,6 @@ class HeaderBar(Gtk.HeaderBar):
and self.props.state == HeaderBar.State.MAIN
)
- @log
def _on_selection_mode_allowed_changed(self, widget, data):
if self.props.selection_mode_allowed:
self._select_button.props.sensitive = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]