Wireshark-bugs: [Wireshark-bugs] [Bug 220] Vertical Scroll Bar Disappeared after using Display F

Date: Fri, 22 Sep 2006 21:04:28 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=220





------- Comment #20 from simon-wireshark@xxxxxxxxxxxxxxxxxx  2006-09-22 21:04 GMT -------
Created an attachment (id=373)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=373&action=view)
Proposed fix for vertical scrollbar problem

This patch is a workaround for the vertical scrollbar problem. 
When the packet list window is hidden between captures, the packet list freeze
count is incremented (by GTK). When the window is subsequently shown, after
adding the new captured data to the list, GTK then sets the freeze count to
zero, but does not do the additional work normally done when the thaw function
is called.
This workaround simply freezes then immediately thaws the packet list after the
window is shown with the result that the scrollbar is updated correctly.

A call to eth_clist_thaw is also added just before a return in
packet_list_set_selected_row() to match an earlier call to eth_clist_freeze


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.