diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-02 17:29:52 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-02 17:29:52 +0000 |
commit | bc36849a9ed626a67f9de48a311aea903d5699d5 (patch) | |
tree | 84dfddd75f29ab2add66703a6394334238e41b90 /file.c | |
parent | 06d5136beb97b6ce1bb8f142c5d795fee472ff16 (diff) | |
download | wireshark-bc36849a9ed626a67f9de48a311aea903d5699d5.tar.gz wireshark-bc36849a9ed626a67f9de48a311aea903d5699d5.tar.bz2 wireshark-bc36849a9ed626a67f9de48a311aea903d5699d5.zip |
Add seperate new_packet_list_moveto_end() which scrolls to the end _without_ selecting the last packet.
svn path=/trunk/; revision=29670
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -554,7 +554,7 @@ cf_read(capture_file *cf) #ifdef NEW_PACKET_LIST new_packet_list_thaw(); if (auto_scroll_live) - new_packet_list_select_last_row(); + new_packet_list_moveto_end(); new_packet_list_freeze(); #else packet_list_thaw(); @@ -825,7 +825,7 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err) we have some new packets. */ if (newly_displayed_packets && auto_scroll_live && cf->plist_end != NULL) #ifdef NEW_PACKET_LIST - new_packet_list_select_last_row(); + new_packet_list_moveto_end(); #else /* this doesn't seem to work well with a frozen GTK_Clist, so do this after packet_list_thaw() is done, see bugzilla 1188 */ @@ -921,7 +921,7 @@ cf_finish_tail(capture_file *cf, int *err) if (auto_scroll_live && cf->plist_end != NULL) #ifdef NEW_PACKET_LIST - new_packet_list_select_last_row(); + new_packet_list_moveto_end(); #else /* XXX - this cheats and looks inside the packet list to find the final row number. */ |