ACTION_CLEAR_TAGS,
ACTION_HIDE,
ACTION_IGNORE,
+ ACTION_WATCH,
ACTION_ADD_TO_ADDRESSBOOK,
ACTION_STOP,
/* add other action constants */
{ N_("Clear tags"), ACTION_CLEAR_TAGS},
{ N_("Hide"), ACTION_HIDE },
{ N_("Ignore thread"), ACTION_IGNORE },
+ { N_("Watch thread"), ACTION_WATCH },
{ N_("Add to address book"), ACTION_ADD_TO_ADDRESSBOOK },
{ N_("Stop filter"), ACTION_STOP },
};
return MATCHACTION_HIDE;
case ACTION_IGNORE:
return MATCHACTION_IGNORE;
+ case ACTION_WATCH:
+ return MATCHACTION_WATCH;
case ACTION_STOP:
return MATCHACTION_STOP;
case ACTION_CHANGE_SCORE:
case ACTION_STOP:
case ACTION_HIDE:
case ACTION_IGNORE:
+ case ACTION_WATCH:
case ACTION_DELETE:
case ACTION_MARK:
case ACTION_UNMARK:
case ACTION_STOP:
case ACTION_HIDE:
case ACTION_IGNORE:
+ case ACTION_WATCH:
case ACTION_CLEAR_TAGS:
gtk_widget_show(filtering_action.account_label);
gtk_widget_set_sensitive(filtering_action.account_label, FALSE);
gtk_list_select_item(GTK_LIST(filtering_action.action_type_list),
ACTION_IGNORE);
break;
+ case MATCHACTION_WATCH:
+ gtk_list_select_item(GTK_LIST(filtering_action.action_type_list),
+ ACTION_WATCH);
+ break;
case MATCHACTION_ADD_TO_ADDRESSBOOK:
if (action->header)
gtk_entry_set_text(GTK_ENTRY(filtering_action.header_entry), action->header);