Ethereal-cvs: [Ethereal-cvs] rev 15772: /trunk/gtk/: packet_list.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 12 Sep 2005 20:10:45 GMT
User: ulfl
Date: 2005/09/12 03:10 PM

Log:
 When jumping (e.g. using menu item Go/Go to Packet...) to a new packet which is currently not displayed, this newly selected packet will become the first in the packet list.
 
 This is inconvenient, as most of the time (at least) I'm interested not only in the packets behind the newly selected one, but also to have some history *before* it.
 
 So this change will scroll the packet list to have the selected packet after the first third of the packet list.
 
 This change won't take effect if the new packet is already visible (only the selection is changed) or it's near the beginning or end of the packet list (so the whole beginning/end of the list is shown).

Directory: /trunk/gtk/
  Changes    Path             Action
  +61 -3     packet_list.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15772&view=rev