aboutsummaryrefslogtreecommitdiff
path: root/libsylph/filter.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-06 05:03:00 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-06 05:03:00 +0000
commitbeedd408b15d15073d135252043fd47d421f4ab4 (patch)
treee8ee2290f3399ffa09d1efd347b413ca99eac7ed /libsylph/filter.h
parent2dd04f6bc82e5242566c0c829ef50a35f00f4c98 (diff)
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
Diffstat (limited to 'libsylph/filter.h')
-rw-r--r--libsylph/filter.h9
1 files changed, 9 insertions, 0 deletions
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,