aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/filter_utils.h
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-13 14:55:11 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-13 14:55:11 +0000
commit958faf4a282a3423d715922533e2081e2a9f9df3 (patch)
treeac070b1d7f5a53ccc8d6af03de62fcdfb1ab9533 /gtk/filter_utils.h
parent042a55a861ec4469cc165837ad2f4a988e2a66ef (diff)
Add Copy (to clipboard) to expert item popup menu.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33214 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/filter_utils.h')
-rw-r--r--gtk/filter_utils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/filter_utils.h b/gtk/filter_utils.h
index 3e5b921e12..f03bf71f5a 100644
--- a/gtk/filter_utils.h
+++ b/gtk/filter_utils.h
@@ -30,7 +30,9 @@
#define ACTION_FIND_NEXT 3
#define ACTION_FIND_PREVIOUS 4
#define ACTION_COLORIZE 5
-#define ACTION_WEB_LOOKUP 6
+#define ACTION_WEB_LOOKUP 6
+#define ACTION_COPY 7
+
/* Action type - says what to do with the filter */
#define ACTYPE_SELECTED 0
@@ -48,6 +50,8 @@
#define CALLBACK_FIND_PREVIOUS(type, extra) ((ACTION_FIND_PREVIOUS<<16) | ((type)<<8) | (extra))
#define CALLBACK_COLORIZE(type, extra) ((ACTION_COLORIZE<<16) | ((type)<<8) | (extra))
#define CALLBACK_WEB_LOOKUP (ACTION_WEB_LOOKUP<<16)
+#define CALLBACK_COPY (ACTION_COPY<<16)
+
/* Extract components of callback argument */
#define FILTER_ACTION(cb_arg) (((cb_arg)>>16) & 0xff)