Re: [Evolution] Hide completed tasks
- From: Johnny Jacob <jjohnny novell com>
- To: evolution-list gnome org
- Subject: Re: [Evolution] Hide completed tasks
- Date: Thu, 16 Oct 2008 12:56:23 +0530
On Thu, 2008-10-16 at 10:50 +0530, Suman Manjunath wrote:
On Thu, Oct 16, 2008 at 12:44 AM, Caleb Marcus <caleb marcus gmail com> wrote:
I'd like to have Evolution hide tasks that I've checked off... I feel like
this is probably something pretty simple that I'm overlooking, but any help
would be appreciated :) I'm using Evo 2.22.3.1
Edit -> Preferences -> Calendar & Tasks -> (under the tab) Display
In Search Bar , There is "Show : Active Tasks"
Not sure about the exact meaning of the verb , but isn't is supposed to
be like this :
diff --git a/calendar/gui/cal-search-bar.c
b/calendar/gui/cal-search-bar.c
index 9ea91f8..3a4a72c 100644
--- a/calendar/gui/cal-search-bar.c
+++ b/calendar/gui/cal-search-bar.c
@@ -319,20 +319,9 @@ get_show_option_sexp (CalSearchBar *cal_search)
return ret;
} else if (viewid == ACTIVE_TASK) {
- /* Shows the tasks due for an year from now
which are not completed yet*/
- start_range = time(NULL);
- end_range = time_add_day(start_range, 365);
- start = isodate_from_time_t (start_range);
- due = isodate_from_time_t (end_range);
+ /* Shows the tasks which are not completed yet*/
+ return g_strdup ("(not is-completed?)");
- ret = g_strdup_printf ("(and
(due-in-time-range? (make-time \"%s\")"
- "
(make-time \"%s\")) (not (is-completed?)))",
- start, due);
-
- g_free (start);
- g_free (due);
-
- return ret;
} else if (viewid == OVERDUE_TASK) {
/* Shows the tasks which are overdue from lower
limit 1970 to the current time */
start_range = 0;
Or if i'm wrong about 'Active Tasks' then introducing a option for (not
is_completed?) would be good.
- Johnny
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]