Wireshark-commits: [Wireshark-commits] rev 43991: /trunk/ui/gtk/ /trunk/ui/gtk/: packet_list_store.
Date: Wed, 25 Jul 2012 12:52:48 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43991

User: darkjames
Date: 2012/07/25 05:52 AM

Log:
 Fix bug #7347: "Resize All Columns" fails in Time Column
 
 If column is based on frame data packet_list_get_widest_column_string() 
 was constructing his own frame_data with biggest *value* for given column
 (which might be not the longest string) and later fill column for it.
 
 Which generally should work (time precision is fixed),
 but in r41185 to lot col_*() function was added check if fd->flags.has_ts is set.
 packet_list_get_widest_column_string() was passing frame_data with flags.has_ts unset.
 
 To make maintaince easier, instead of fixing the problem with flags.has_ts,
 generate column buffer for each frame, and find the one which has longest string.

Directory: /trunk/ui/gtk/
  Changes    Path                   Action
  +15 -80    packet_list_store.c    Modified