Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYader Velásquez <yajosev@gmail.com>2012-03-01 23:57:46 (GMT)
committer Yader Velásquez <yajosev@gmail.com>2012-03-01 23:57:46 (GMT)
commitdced777116e2ef0d2699bfb122bb8e5a1a92fed5 (patch)
tree0876e3dee4ea06ab85a0397d63456400c359ffd2
parente0042ca99ccac3a8facf42ce8459984fb3a7422d (diff)
new size for xo displayv5
-rw-r--r--calendario.py11
-rw-r--r--locale/th/LC_MESSAGES/org.laptop.calendario.mobin415 -> 1208 bytes
-rw-r--r--locale/th/activity.linfo2
3 files changed, 8 insertions, 5 deletions
diff --git a/calendario.py b/calendario.py
index afce8e8..44a4b98 100644
--- a/calendario.py
+++ b/calendario.py
@@ -182,10 +182,13 @@ class CalendarioActivity(activity.Activity):
#if the colum is the first
if i == 1:
column = gtk.TreeViewColumn(title, cell_text, markup=i)
- column.set_min_width(300)
+ #sizes commented are for emuler testing
+ #column.set_min_width(300)
+ column.set_min_width(440)
else:
column = gtk.TreeViewColumn(title, cell_text, text=i)
- column.set_min_width(100)
+ #column.set_min_width(100)
+ column.set_min_width(135)
self.tasks_list.append_column(column)
i = i + 1
@@ -281,9 +284,9 @@ class CalendarioActivity(activity.Activity):
date_formated = date_format(self.calendar.get_date())
data = (date_formated, category, priority)
db = DataBase(self.path)
- data = db.filter_tasks(data)
+ tasks = db.filter_tasks(data)
db.close()
- tasks_model = TasksModel(data)
+ tasks_model = TasksModel(tasks)
self.tasks_list.set_model(tasks_model.get_model())
def close(self, skip_save=False):
diff --git a/locale/th/LC_MESSAGES/org.laptop.calendario.mo b/locale/th/LC_MESSAGES/org.laptop.calendario.mo
index f777503..dc09612 100644
--- a/locale/th/LC_MESSAGES/org.laptop.calendario.mo
+++ b/locale/th/LC_MESSAGES/org.laptop.calendario.mo
Binary files differ
diff --git a/locale/th/activity.linfo b/locale/th/activity.linfo
index 90bdbd4..9bfe028 100644
--- a/locale/th/activity.linfo
+++ b/locale/th/activity.linfo
@@ -1,2 +1,2 @@
[Activity]
-name = Calendario
+name = ปฏิทิน