[gnome-clocks] Remove debug prints
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Remove debug prints
- Date: Thu, 16 Aug 2012 18:29:14 +0000 (UTC)
commit 50d75067e3d348f81a3b577365a6edeabf1dec6f
Author: Seif Lotfy <seif lotfy com>
Date: Thu Aug 16 20:25:45 2012 +0200
Remove debug prints
purged unecessary prints according to bug 681858
gnomeclocks/clocks.py | 4 +---
gnomeclocks/widgets.py | 1 -
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gnomeclocks/clocks.py b/gnomeclocks/clocks.py
index 752cd2e..57a33ab 100644
--- a/gnomeclocks/clocks.py
+++ b/gnomeclocks/clocks.py
@@ -121,7 +121,6 @@ class World (Clock):
def load_clocks(self):
self.clocks = worldclockstorage.load_clocks ()
- print self.clocks
if len(self.clocks) == 0:
self.load_empty_clocks_view ()
else:
@@ -337,7 +336,6 @@ class Stopwatch (Clock):
GObject.source_remove(self.g_id)
self.g_id = 0
self.time_diff = self.time_diff + (time.time() - self.start_time)
- #print self.time_diff
def reset(self):
self.time_diff = 0
@@ -457,5 +455,5 @@ class Alert:
playbin.set_property('uri', 'file:///usr/share/sounds/gnome/default/alerts/glass.ogg')
playbin.set_state(Gst.State.PLAYING)
else:
- print "error"
+ print "Error: Could not trigger Alert"
diff --git a/gnomeclocks/widgets.py b/gnomeclocks/widgets.py
index e388627..af2060a 100644
--- a/gnomeclocks/widgets.py
+++ b/gnomeclocks/widgets.py
@@ -271,7 +271,6 @@ class DigitalClockDrawing (Gtk.DrawingArea):
self.show_all()
def render(self, text, img, isDay):
- print "updating"
self.surface = cairo.ImageSurface.create_from_png(img)
ctx = cairo.Context(self.surface)
ctx.scale(1.0, 1.0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]