Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/archivo.py
diff options
context:
space:
mode:
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