Move gtk to ui/gtk.
[metze/wireshark/wip.git] / win32 / file_dlg_win32.c
index 05f624cfdc4d5703404be0b27de244e3ae6fccd4..7640a81832b9219a7013f82546b7bbdb75e752d8 100644 (file)
 #include "../color_filters.h"
 #include "../merge.h"
 
-#include "gtk/file_dlg.h"
-#include "gtk/capture_file_dlg.h"
-#include "gtk/main.h"
-#include "gtk/menus.h"
-#include "gtk/drag_and_drop.h"
-#include "gtk/capture_dlg.h"
+#include "ui/gtk/file_dlg.h"
+#include "ui/gtk/capture_file_dlg.h"
+#include "ui/gtk/main.h"
+#include "ui/gtk/menus.h"
+#include "ui/gtk/drag_and_drop.h"
+#include "ui/gtk/capture_dlg.h"
 #include "win32/file_dlg_win32.h"
-#include "gtk/help_dlg.h"
-#include "gtk/export_sslkeys.h"
+#include "ui/gtk/help_dlg.h"
+#include "ui/gtk/export_sslkeys.h"
 
 typedef enum {
     merge_append,
@@ -1369,7 +1369,7 @@ open_file_hook_proc(HWND of_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
     return 0;
 }
 
-/* XXX - Copied verbatim from gtk/capture_file_dlg.c.  Perhaps it
+/* XXX - Copied verbatim from ui/gtk/capture_file_dlg.c.  Perhaps it
  * should be in wiretap instead?
  */
 
@@ -1559,6 +1559,8 @@ save_as_file_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
 
             /* init the packet range */
             packet_range_init(&g_range);
+            /* default to displayed packets */
+            g_range.process_filtered   = TRUE;
 
             /* Fill in the file format list */
             /*build_file_format_list(sf_hwnd);*/
@@ -1992,6 +1994,8 @@ export_file_hook_proc(HWND ef_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
         case WM_INITDIALOG:
             /* init the printing range */
             packet_range_init(&print_args.range);
+            /* default to displayed packets */
+            print_args.range.process_filtered = TRUE;
             range_handle_wm_initdialog(ef_hwnd, &print_args.range);
             format_handle_wm_initdialog(ef_hwnd, &print_args);
 
@@ -2112,6 +2116,6 @@ export_sslkeys_file_hook_proc(HWND ef_hwnd, UINT msg, WPARAM w_param, LPARAM l_p
  * indent-tabs-mode: nil
  * End:
  *
- * ex: set shiftwidth=4 tabstop=8 expandtab
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
  * :indentSize=4:tabSize=8:noTabs=true:
  */