aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui_util.h
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2015-02-20 15:30:23 +0100
committerGerald Combs <gerald@wireshark.org>2015-02-27 20:27:14 +0000
commit2d4817966ee88d2b163dca46e4df75e8f6262b7a (patch)
treed887a5bcee4b267d55556436f320bb32cd49c738 /ui/ui_util.h
parent2462c0d35a113043b003a73b8b3fe31a674264bb (diff)
Qt: Automatically scroll the packet list.
Add an "Auto Scroll in Live Capture" action to the Go menu. It's in the View menu in the GTK+ UI but it seems to make more sense as a navigation item. Use a timeout interval for automatic scrolling. I haven't run any tests to see if this makes a difference but it would seem that the less drawing we do during a high speed capture the better, particularly for remote displays. Update the x-stay-last icons. Note that we might want to make prefs.capture_auto_scroll a "recent" setting. Mark auto_scroll_live and packet_list_check_end GTK+ only. Bug: 10601 Co-authored-by: Gerald Combs <gerald@wireshark.org> Change-Id: I645d27c0814f0e4a0d5b01ae68be366847e2522d Reviewed-on: https://code.wireshark.org/review/7292 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/ui_util.h')
-rw-r--r--ui/ui_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui_util.h b/ui/ui_util.h
index 7ebd59bd3d..b76e218951 100644
--- a/ui/ui_util.h
+++ b/ui/ui_util.h
@@ -74,7 +74,7 @@ void packet_list_queue_draw(void);
void packet_list_select_first_row(void);
void packet_list_select_last_row(void);
void packet_list_moveto_end(void);
-gboolean packet_list_check_end(void);
+gboolean packet_list_check_end(void); /* GTK+ only */
gboolean packet_list_select_row_from_data(frame_data *fdata_needle);
void packet_list_resize_column(gint col);