From beedd408b15d15073d135252043fd47d421f4ab4 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 6 Apr 2007 05:03:00 +0000 Subject: display error dialog if the execution of the junk filter command failed. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1597 ee746299-78ed-0310-b773-934348b2243d --- libsylph/filter.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libsylph/filter.h') diff --git a/libsylph/filter.h b/libsylph/filter.h index 9f0940be..132810f5 100644 --- a/libsylph/filter.h +++ b/libsylph/filter.h @@ -100,6 +100,13 @@ typedef enum FLT_BY_SUBJECT } FilterCreateType; +typedef enum +{ + FLT_ERROR_OK, + FLT_ERROR_ERROR, + FLT_ERROR_EXEC_FAILED +} FilterErrorValue; + #define FLT_IS_NOT_MATCH(flag) ((flag & FLT_NOT_MATCH) != 0) #define FLT_IS_CASE_SENS(flag) ((flag & FLT_CASE_SENS) != 0) @@ -151,6 +158,8 @@ struct _FilterInfo GSList *dest_list; FolderItem *move_dest; gboolean drop_done; + + FilterErrorValue error; }; gint filter_apply (GSList *fltlist, -- cgit v1.2.3