diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-02-20 15:30:23 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-02-27 20:27:14 +0000 |
commit | 2d4817966ee88d2b163dca46e4df75e8f6262b7a (patch) | |
tree | d887a5bcee4b267d55556436f320bb32cd49c738 /ui/preference_utils.h | |
parent | 2462c0d35a113043b003a73b8b3fe31a674264bb (diff) | |
download | wireshark-2d4817966ee88d2b163dca46e4df75e8f6262b7a.tar.gz |
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/preference_utils.h')
-rw-r--r-- | ui/preference_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/preference_utils.h b/ui/preference_utils.h index 074b974844..e4117d682e 100644 --- a/ui/preference_utils.h +++ b/ui/preference_utils.h @@ -70,7 +70,7 @@ extern void reset_stashed_pref(pref_t *pref); /** If autoscroll in live captures is active or not */ -extern gboolean auto_scroll_live; +extern gboolean auto_scroll_live; /* GTK+ only. */ /** Fill in capture options with values from the preferences */ |