diff options
author | Sake Blok <sake@euronet.nl> | 2009-04-08 18:32:11 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2009-04-08 18:32:11 +0000 |
commit | ff6524090664467444ecffbdbd7045fe61d013ec (patch) | |
tree | 2e671a614efafba221a2527d0cde4041000b2504 /print.c | |
parent | 1f1ba3d328daaa6d703e57fe3f01dd49fa3d6859 (diff) |
Add some more "copy" functionality:
- Enabled "Copy Description" in the main menu and gave it
accelerator key CTRL+SHIFT+D
- Added "Copy Fieldname" to copy the fieldname of the selected
field in the detail view (Acc.Key: CTRL+SHIFT+F)
- Added "Copy Value" to copy the value of the selected
field in the detail view (Acc.Key: CTRL+SHIFT+V)
- Updated documentation to reflect the changes
svn path=/trunk/; revision=28006
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ struct _output_fields { }; static const gchar* get_field_hex_value(GSList* src_list, field_info *fi); -static const gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt); +const gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt); static void proto_tree_print_node(proto_node *node, gpointer data); static void proto_tree_write_node_pdml(proto_node *node, gpointer data); static const guint8 *get_field_data(GSList *src_list, field_info *fi); @@ -1486,7 +1486,7 @@ void write_fields_finale(output_fields_t* fields _U_ , FILE *fh _U_) } /* Returns an ep_alloced string or a static constant*/ -static const gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt) +const gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt) { if (fi->hfinfo->id == hf_text_only) { /* Text label. |