Wireshark-commits: [Wireshark-commits] rev 36839: /trunk/ /trunk/gtk/: new_packet_list.c /trunk/: f
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36839
User: guy
Date: 2011/04/24 02:02 PM
Log:
new_packet_list_find_row_from_data() is always used to select a packet,
so get rid of the select_flag argument, and rename it
new_packet_list_select_row_from_data().
It's also always passed a frame_data *, so make its argument a
frame_data *.
Its return value is used only to detect whether the packet was found in
the display or not, so make it a gboolean. Check it in *all* cases
where it's called, and change the dialog message a bit (the most likely
cause is that the user cancelled a redissection of the packets, so not
all packets in the capture file are in the display.
Also, in the find case, pass it the new packet we found.
Directory: /trunk/gtk/
Changes Path Action
+11 -8 new_packet_list.c Modified
Directory: /trunk/
Changes Path Action
+26 -9 file.c Modified
+1 -1 ui_util.h Modified