+2001-12-08 [hoa] 0.7.0claws10
+
+ * src/matcher_parser_parse.y
+ fixed some bugs
+
+ * src/prefs_filtering.c
+ now, we can use bounce action in the dialog box.
+
2002-01-16 [carsten] 0.7.0claws9
* src/gtkstext.c
removed the <control> and <alt> shortcuts because they're
gint account_id = 0;
action_type = MATCHACTION_FORWARD;
- account_id = $2;
+ account_id = atoi($2);
destination = $3;
action = filteringaction_new(action_type, account_id, destination, 0);
}
gint account_id = 0;
action_type = MATCHACTION_FORWARD_AS_ATTACHMENT;
- account_id = $2;
+ account_id = atoi($2);
destination = $3;
action = filteringaction_new(action_type, account_id, destination, 0);
}
gint account_id = 0;
action_type = MATCHACTION_BOUNCE;
- account_id = $2;
+ account_id = atoi($2);
destination = $3;
action = filteringaction_new(action_type, account_id, destination, 0);
}
return MATCHACTION_FORWARD;
case ACTION_FORWARD_AS_ATTACHMENT:
return MATCHACTION_FORWARD_AS_ATTACHMENT;
+ case ACTION_BOUNCE:
+ return MATCHACTION_BOUNCE;
case ACTION_EXECUTE:
return MATCHACTION_EXECUTE;
case ACTION_COLOR:
ACTION_MARK_AS_UNREAD);
break;
case MATCHACTION_FORWARD:
+ list_id = get_list_id_from_account_id(action->account_id);
gtk_list_select_item(GTK_LIST(filtering.action_list),
ACTION_FORWARD);
- list_id = get_list_id_from_account_id(action->account_id);
gtk_list_select_item(GTK_LIST(filtering.account_list),
list_id);
break;
list_id);
break;
case MATCHACTION_BOUNCE:
+ list_id = get_list_id_from_account_id(action->account_id);
gtk_list_select_item(GTK_LIST(filtering.action_list),
ACTION_BOUNCE);
- list_id = get_list_id_from_account_id(action->account_id);
gtk_list_select_item(GTK_LIST(filtering.account_list),
list_id);
break;