- Timestamp:
- Jun 17, 2010, 9:41:41 AM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 3c2c7fc
- Parents:
- 68e5464 (diff), 95414bf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r3aa0522 rdec60b4 149 149 } 150 150 151 static void owl_setup_default_filters(void)152 {153 int i;154 static const struct {155 const char *name;156 const char *desc;157 } filters[] = {158 { "personal",159 "isprivate ^true$ and ( not type ^zephyr$ or ( class ^message ) )" },160 { "trash",161 "class ^mail$ or opcode ^ping$ or type ^admin$ or ( not login ^none$ )" },162 { "wordwrap", "not ( type ^admin$ or type ^zephyr$ )" },163 { "ping", "opcode ^ping$" },164 { "auto", "opcode ^auto$" },165 { "login", "not login ^none$" },166 { "reply-lockout", "class ^noc or class ^mail$" },167 { "out", "direction ^out$" },168 { "aim", "type ^aim$" },169 { "zephyr", "type ^zephyr$" },170 { "none", "false" },171 { "all", "true" },172 { NULL, NULL }173 };174 175 owl_function_debugmsg("startup: creating default filters");176 177 for (i = 0; filters[i].name != NULL; i++)178 owl_global_add_filter(&g, owl_filter_new_fromstring(filters[i].name,179 filters[i].desc));180 }181 151 182 152 /* … … 563 533 owl_global_complete_setup(&g); 564 534 565 owl_ setup_default_filters();535 owl_global_setup_default_filters(&g); 566 536 567 537 /* set the current view */
Note: See TracChangeset
for help on using the changeset viewer.