diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-06-04 09:55:52 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-06-04 09:55:52 +0800 |
commit | 494dffad09716e9829b06d48e207af07ff1ddbe3 (patch) | |
tree | ee2444bb120aa99f250bfa2c34d72280f448ba18 | |
parent | 3b81468ae481142925bad59e9af811e5273bc4d0 (diff) | |
download | gsoc2013-evolution-494dffad09716e9829b06d48e207af07ff1ddbe3.tar.gz gsoc2013-evolution-494dffad09716e9829b06d48e207af07ff1ddbe3.tar.zst gsoc2013-evolution-494dffad09716e9829b06d48e207af07ff1ddbe3.zip |
Added a new element for percentage.
svn path=/trunk/; revision=33650
-rw-r--r-- | filter/ChangeLog | 7 | ||||
-rw-r--r-- | filter/rule-context.c | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 31a18c3656..1efa3d9345 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,10 @@ +2007-06-04 Chenthill Palanisamy <pchenthill@novell.com> + + * rule-context.c: (new_element): Added a percentage + element. + + Committing on behalf of Keshav Upadhyaya <ukeshav@novell.com> + 2007-05-17 Gilles Dartiguelongue <dartigug@esiee.fr> ** Fixes bug #439118 diff --git a/filter/rule-context.c b/filter/rule-context.c index c08bcf1c5e..4e25eacb2b 100644 --- a/filter/rule-context.c +++ b/filter/rule-context.c @@ -924,6 +924,9 @@ new_element(RuleContext *rc, const char *type) return (FilterElement *) filter_input_new_type_name (type); } else if (!strcmp (type, "label")) { return (FilterElement *) filter_label_new (); + }else if (!strcmp(type, "completedpercent")) { + return (FilterElement *) filter_int_new_type("completedpercent", 0,100); + } else { g_warning("Unknown filter type '%s'", type); return NULL; |