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 14:13:59 (GMT)
committer Samus_ <mail2samus@gmail.com>2010-03-21 14:13:59 (GMT)
commit7175eb765a28ebc49a8ecdd0386be77e28192883 (patch)
treeed8d38cac0fb4149219488a8795f9c7907630930
parent8f718af1ec71ae81374ddda554e623f3ebc29a77 (diff)
fix resize bugcake
-rwxr-xr-xfracciones.activity/gtkcake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fracciones.activity/gtkcake.py b/fracciones.activity/gtkcake.py
index 8ebca59..853235b 100755
--- a/fracciones.activity/gtkcake.py
+++ b/fracciones.activity/gtkcake.py
@@ -150,7 +150,7 @@ class Cake(gtk.DrawingArea):
# Escala la imagen al tamaño de la superficie
# WIDTH/HEIGHT corresponden al tamaño de los graficos
rect = self.get_allocation()
- tmp_context.scale(
+ showed_context.scale(
float(rect.width) / WIDTH,
float(rect.height) / HEIGHT
)