[gnome-music/wip/mschraal/glib-logging: 44/65] selectiontoolbar: New logger
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/glib-logging: 44/65] selectiontoolbar: New logger
- Date: Sat, 1 Feb 2020 15:20:08 +0000 (UTC)
commit 85f990ea01a0940149d92d648a652a8a8f19c25e
Author: Marinus Schraal <mschraal gnome org>
Date: Sat Feb 1 14:57:21 2020 +0100
selectiontoolbar: New logger
gnomemusic/widgets/selectiontoolbar.py | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/gnomemusic/widgets/selectiontoolbar.py b/gnomemusic/widgets/selectiontoolbar.py
index 16c9472b..b97c2d39 100644
--- a/gnomemusic/widgets/selectiontoolbar.py
+++ b/gnomemusic/widgets/selectiontoolbar.py
@@ -24,8 +24,6 @@
from gi.repository import GObject, Gtk
-from gnomemusic import log
-
@Gtk.Template(resource_path='/org/gnome/Music/ui/SelectionToolbar.ui')
class SelectionToolbar(Gtk.ActionBar):
@@ -40,10 +38,6 @@ class SelectionToolbar(Gtk.ActionBar):
selected_items_count = GObject.Property(type=int, default=0, minimum=0)
- def __repr__(self):
- return '<SelectionToolbar>'
-
- @log
def __init__(self):
super().__init__()
@@ -53,11 +47,9 @@ class SelectionToolbar(Gtk.ActionBar):
self.notify("selected-items-count")
@Gtk.Template.Callback()
- @log
def _on_add_to_playlist_button_clicked(self, widget):
self.emit('add-to-playlist')
- @log
def _on_item_selection_changed(self, widget, data):
if self.props.selected_items_count > 0:
self._add_to_playlist_button.props.sensitive = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]