diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-06-30 10:43:50 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-06-30 10:43:50 +0000 |
commit | 8c1d02377e7ee4b7ebf57b18a862c25063e32738 (patch) | |
tree | fe1367d43a30aa8e2a212cf905140419a7882e0c /ui/gtk/packet_panes.h | |
parent | 3a4678b00f248200524fb044aa77abb595fc8897 (diff) |
Fix bug #7425: Per-packet right-click network or MAC name resolution not working
proto_tree_draw() from r43189 is lazy, and it don't fills tree with all item labels.
To fix it, move 'gbl_resolv_flags' hack to proto_tree_model_get_value().
XXX could we pass resolving flags to proto_item_fill_label()?
svn path=/trunk/; revision=43550
Diffstat (limited to 'ui/gtk/packet_panes.h')
-rw-r--r-- | ui/gtk/packet_panes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/packet_panes.h b/ui/gtk/packet_panes.h index 46f8be9bd7..2177f2e240 100644 --- a/ui/gtk/packet_panes.h +++ b/ui/gtk/packet_panes.h @@ -192,6 +192,8 @@ extern GtkWidget * proto_tree_view_new(e_prefs *prefs, GtkWidget **tree_view_p); */ extern void proto_tree_draw(proto_tree *protocol_tree, GtkWidget *tree_view); +extern void proto_tree_draw_resolve(proto_tree *protocol_tree, GtkWidget *tree_view, guint32 resolv); + /** Expand the whole tree view. * * @param protocol_tree the currently dissected protocol tree |