Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamus_ <mail2samus@gmail.com>2010-03-21 07:27:56 (GMT)
committer Samus_ <mail2samus@gmail.com>2010-03-21 07:27:56 (GMT)
commit207fbf2a309cb687134839b6ea07218cbd600fb9 (patch)
tree358d30345c3aec5a80dc157969c6463c264d87f7
parent248d74da46a12f55876c6874d0cc6a81f6185de2 (diff)
normalizing __init__
-rwxr-xr-xfracciones.activity/gtkcake.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fracciones.activity/gtkcake.py b/fracciones.activity/gtkcake.py
index 3fe307a..5750d43 100755
--- a/fracciones.activity/gtkcake.py
+++ b/fracciones.activity/gtkcake.py
@@ -22,8 +22,8 @@ WRADIUS = 0.44
class Cake(gtk.DrawingArea):
"""Widget que dibuja una torta y permite seleccionar trozos de ella"""
- def __init__(self, subdivisions):
- gtk.DrawingArea.__init__(self)
+ def __init__(self, subdivisions, *args, **kwargs):
+ gtk.DrawingArea.__init__(self, *args, **kwargs)
self.connect("expose_event", self.expose)
self.connect("button_press_event", self.button_press)
# Los eventos del raton no estan activados para el DrawingArea