[gnome-music/wip/rate-limit] player: don't log _update_position_callback and seconds_to_string
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/rate-limit] player: don't log _update_position_callback and seconds_to_string
- Date: Tue, 16 Jun 2015 15:54:06 +0000 (UTC)
commit f96c736cd29c0c33c036186e2a85de91882cacfd
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jun 16 17:41:00 2015 +0200
player: don't log _update_position_callback and seconds_to_string
gnomemusic/player.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index f56ed5c..6887a24 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -804,7 +804,6 @@ class Player(GObject.GObject):
self.timeout = None
return False
- @log
def seconds_to_string(self, duration):
seconds = duration
minutes = seconds // 60
@@ -834,7 +833,6 @@ class Player(GObject.GObject):
self.scrobbled = False
self.progressScale.set_range(0.0, duration * 60)
- @log
def _update_position_callback(self):
position = self.player.query_position(Gst.Format.TIME)[1] / 1000000000
if position > 0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]