From 8c1d02377e7ee4b7ebf57b18a862c25063e32738 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sat, 30 Jun 2012 10:43:50 +0000 Subject: 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 --- ui/gtk/packet_panes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/gtk/packet_panes.h') 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 -- cgit v1.2.1