From dced777116e2ef0d2699bfb122bb8e5a1a92fed5 Mon Sep 17 00:00:00 2001 From: Yader Velásquez Date: Thu, 01 Mar 2012 23:57:46 +0000 Subject: new size for xo display --- 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 = ปฏิทิน -- cgit v0.9.1