aboutsummaryrefslogtreecommitdiffstats
path: root/ui/filter_files.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2018-10-09 11:46:00 +0200
committerAnders Broman <a.broman58@gmail.com>2018-10-10 04:46:28 +0000
commite1fc60ddaecaa914e384ae8bc9bf46cca0096df2 (patch)
treeb05c9cf0dc1868925e2d8919603ef87469b13625 /ui/filter_files.h
parenteade1c52cba529f10a2e3133b78c4ddd30ea52e6 (diff)
Qt: Add back pathLabel in some dialogs
Add the pathLabel for Coloring Rules, Decode As, Display Filters and Capture Filter. Put the absolute file path into the pathLabel if the file exists. This aligns with UAT dialogs and frames. Change-Id: I72bd06e31bab220de0a0ef8df99df9a4daed667c Reviewed-on: https://code.wireshark.org/review/30089 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/filter_files.h')
-rw-r--r--ui/filter_files.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ui/filter_files.h b/ui/filter_files.h
index 3891a919a3..88ad6378a5 100644
--- a/ui/filter_files.h
+++ b/ui/filter_files.h
@@ -16,6 +16,21 @@ extern "C" {
#endif /* __cplusplus */
/*
+ * Old filter file name.
+ */
+#define FILTER_FILE_NAME "filters"
+
+/*
+ * Capture filter file name.
+ */
+#define CFILTER_FILE_NAME "cfilters"
+
+/*
+ * Display filter file name.
+ */
+#define DFILTER_FILE_NAME "dfilters"
+
+/*
* Filter lists.
*/
typedef enum {