aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-06-29 16:31:44 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-06-29 16:31:44 +0000
commit531a787d9c81ea324d0ea3316893d6ac0d89c9a8 (patch)
tree53e08951c31936f3253f2588a52482a42b21dbe3
parent3dd1b0c0de009a3ffe09032c0a0db89b9e1bc4a9 (diff)
Based on user feedback from Sharkfest '11, make the default choice when saving or printing packets apply to only displayed packets and not all packets.
svn path=/trunk/; revision=37833
-rw-r--r--docbook/release-notes.xml7
-rw-r--r--gtk/capture_file_dlg.c2
-rw-r--r--packet-range.c2
-rw-r--r--win32/file_dlg_win32.c2
4 files changed, 10 insertions, 3 deletions
diff --git a/docbook/release-notes.xml b/docbook/release-notes.xml
index 4d91bdd407..2d68afd466 100644
--- a/docbook/release-notes.xml
+++ b/docbook/release-notes.xml
@@ -89,6 +89,13 @@ Wireshark Info
</para>
</listitem>
+ <listitem>
+ <para>
+ When saving or printing packets, the default choice is now to save
+ or print only the displayed packets rather than all packets.
+ </para>
+ </listitem>
+
</itemizedlist>
</para>
diff --git a/gtk/capture_file_dlg.c b/gtk/capture_file_dlg.c
index 3832f1bebd..b8f11c305f 100644
--- a/gtk/capture_file_dlg.c
+++ b/gtk/capture_file_dlg.c
@@ -1235,7 +1235,7 @@ file_save_as_cmd(action_after_save_e action_after_save, gpointer action_after_sa
return;
}
- /* Default to saving all packets, in the file's current format. */
+ /* Default to saving packets in the file's current format. */
/* init the packet range */
packet_range_init(&range);
diff --git a/packet-range.c b/packet-range.c
index ed9955e094..d86f27ba59 100644
--- a/packet-range.c
+++ b/packet-range.c
@@ -206,7 +206,7 @@ static void packet_range_calc_user(packet_range_t *range) {
void packet_range_init(packet_range_t *range) {
range->process = range_process_all;
- range->process_filtered = FALSE;
+ range->process_filtered = TRUE;
range->remove_ignored = FALSE;
range->user_range = range_empty();
diff --git a/win32/file_dlg_win32.c b/win32/file_dlg_win32.c
index 0e191b992f..24b1c0c13a 100644
--- a/win32/file_dlg_win32.c
+++ b/win32/file_dlg_win32.c
@@ -1548,7 +1548,7 @@ save_as_file_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
case WM_INITDIALOG:
g_sf_hwnd = sf_hwnd;
- /* Default to saving all packets, in the file's current format. */
+ /* Default to saving packets in the file's current format. */
filetype = cfile.cd_t;
/* init the packet range */