Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2012-10-29 00:58:25 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2012-10-29 00:58:25 (GMT)
commit02f6f3a1f5e5ec640987472e22f81fead678cdcc (patch)
treebf69716117f443db625f1451a805faa900b64786
parent3756a2d1ad1ce58dd36bae740f1750e8846fc16b (diff)
remove unused labels
-rwxr-xr-xactivity.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/activity.py b/activity.py
index e0a0b4f..37c34a7 100755
--- a/activity.py
+++ b/activity.py
@@ -62,8 +62,7 @@ class Activity(activity.Activity):
self._make_display()
self.show_all()
-
- #self.calculate_bio()
+ #'alto', 'critico', 'bajo'
def build_toolbar(self):
@@ -272,25 +271,25 @@ class Activity(activity.Activity):
self._biorhytm = Biorhytm(self)
+ """
# The label to print the time in full letters
self._time_letters = gtk.Label()
- self._time_letters.set_no_show_all(True)
-
+ #self._time_letters.set_no_show_all(True)
self._time_letters.set_markup('holaaaaa')
# The label to write the date
self._date = gtk.Label()
- self._date.set_no_show_all(True)
+ #self._date.set_no_show_all(True)
self._date.set_markup('pepe')
# Put all these widgets in a vertical box
vbox = gtk.VBox(False)
vbox.pack_start(self._biorhytm, True)
vbox.pack_start(self._time_letters, False)
- vbox.pack_start(self._date, False)
+ vbox.pack_start(self._date, False)"""
# Attach the display to the activity
- self.set_canvas(vbox)
+ self.set_canvas(self._biorhytm)
class Biorhytm(gtk.DrawingArea):
@@ -409,7 +408,6 @@ class Biorhytm(gtk.DrawingArea):
cr.translate(self._center_x - dx / 2.0, d - dy / 2.0 + 5)
cr.show_layout(pango_layout)
-
def _expose_cb(self, widget, event):
#self.queue_resize()
self.calc()