Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/archivo.py
diff options
context:
space:
mode:
authoryaderv <yajosev@gmail.com>2011-03-08 17:12:56 (GMT)
committer yaderv <yajosev@gmail.com>2011-03-08 17:12:56 (GMT)
commite1a19f1d79b08f8dd932b3bd593fc2e0e49ba2ba (patch)
treec9dbcbb6fcde6ebc92fb0238ff53290e8f615a1b /archivo.py
parent9f5252f2bf9b05b29fbaaf3d70863d726939c2fa (diff)
completed button
Diffstat (limited to 'archivo.py')
-rw-r--r--archivo.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivo.py b/archivo.py
index 45294de..23dff84 100644
--- a/archivo.py
+++ b/archivo.py
@@ -106,7 +106,7 @@ def guardar_efemeride(path, file_name):
file_new.close()
archivo.close()
-def guardar_dato(indice, contenido, categoria, entero_cat, bolean, bolean_2, path, indice_lista=False):
+def guardar_dato(indice, contenido, categoria, entero_cat, bolean, progre, path, indice_lista=False):
'''save the content in a file, add the content to a dictionary->list'''
color_categoria = ['#6E92FF', '#82FF5F', '#FFE251', '#FF7D7D', '#FFFFFF']
@@ -120,8 +120,10 @@ def guardar_dato(indice, contenido, categoria, entero_cat, bolean, bolean_2, pat
else:
prioridad = None
- if bolean_2:
+ if progre is 1:
progreso = gtk.STOCK_YES
+ elif progre is 2:
+ progreso = gtk.STOCK_APPLY
else:
progreso = None