diff options
author | Milan Crha <mcrha@redhat.com> | 2012-08-06 22:10:09 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-08-06 22:10:09 +0800 |
commit | 304a2c1c91bd21b362090a4368fb460bc697d9b0 (patch) | |
tree | 5851085a290617813fe15268444d726da9b79ce6 /filter/e-filter-option.h | |
parent | 82b67c38f4a54ad10cce86bc541c5608374a20a1 (diff) | |
download | gsoc2013-evolution-304a2c1c91bd21b362090a4368fb460bc697d9b0.tar gsoc2013-evolution-304a2c1c91bd21b362090a4368fb460bc697d9b0.tar.gz gsoc2013-evolution-304a2c1c91bd21b362090a4368fb460bc697d9b0.tar.bz2 gsoc2013-evolution-304a2c1c91bd21b362090a4368fb460bc697d9b0.tar.lz gsoc2013-evolution-304a2c1c91bd21b362090a4368fb460bc697d9b0.tar.xz gsoc2013-evolution-304a2c1c91bd21b362090a4368fb460bc697d9b0.tar.zst gsoc2013-evolution-304a2c1c91bd21b362090a4368fb460bc697d9b0.zip |
Bug #246530 - Rules editor lacks "Label is (not) 'None'"
Diffstat (limited to 'filter/e-filter-option.h')
-rw-r--r-- | filter/e-filter-option.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/filter/e-filter-option.h b/filter/e-filter-option.h index 45d426b761..84b98bd104 100644 --- a/filter/e-filter-option.h +++ b/filter/e-filter-option.h @@ -55,8 +55,12 @@ struct _filter_option { gchar *title; /* button title */ gchar *value; /* value, if it has one */ gchar *code; /* used to string code segments together */ + gchar *code_gen_func; /* function to generate the code; + either @code or @code_gen_func is non-NULL, + never both */ - gboolean is_dynamic; /* whether is the option dynamic, FALSE if static */ + gboolean is_dynamic; /* whether is the option dynamic, FALSE if static; + dynamic means "generated by EFilterOption::dynamic_func" */ }; struct _EFilterOption { @@ -84,6 +88,7 @@ struct _filter_option * const gchar *name, const gchar *title, const gchar *code, + const gchar *code_gen_func, gboolean is_dynamic); void e_filter_option_remove_all (EFilterOption *option); |