diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-04-29 23:03:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-04-29 23:03:57 +0000 |
commit | 0ce9a23b254130dc7b4c42952632f3e670870a1c (patch) | |
tree | be8e4d95e6ed27958ab0948a55bfc23c070702bb | |
parent | fe6af4d65d22bb6280002afa2029db69768a55a3 (diff) | |
download | wireshark-0ce9a23b254130dc7b4c42952632f3e670870a1c.tar.gz wireshark-0ce9a23b254130dc7b4c42952632f3e670870a1c.tar.bz2 wireshark-0ce9a23b254130dc7b4c42952632f3e670870a1c.zip |
Most of the stuff in file_dlg.c is specific to capture files, so rename
it to capture_file_dlg.c, and rename its header file. We might want to
move the generic file dialog stuff to a file_dlg.c file (it's currently
in dlg_utils.c), and move the non-capture-file dialog stuff in
capture_file_dlg.c to another file.
svn path=/trunk/; revision=18034
-rw-r--r-- | gtk/Makefile.am | 4 | ||||
-rw-r--r-- | gtk/Makefile.common | 2 | ||||
-rw-r--r-- | gtk/capture_dlg.c | 2 | ||||
-rw-r--r-- | gtk/capture_file_dlg.c (renamed from gtk/file_dlg.c) | 6 | ||||
-rw-r--r-- | gtk/capture_file_dlg.h (renamed from gtk/file_dlg.h) | 4 | ||||
-rw-r--r-- | gtk/color_dlg.c | 2 | ||||
-rw-r--r-- | gtk/drag_and_drop.c | 2 | ||||
-rw-r--r-- | gtk/main.c | 2 | ||||
-rw-r--r-- | gtk/menu.c | 2 | ||||
-rw-r--r-- | gtk/packet_list.c | 2 | ||||
-rw-r--r-- | gtk/print_dlg.c | 2 | ||||
-rw-r--r-- | gtk/print_prefs.c | 2 | ||||
-rw-r--r-- | gtk/proto_draw.c | 2 | ||||
-rw-r--r-- | gtk/toolbar.c | 2 | ||||
-rw-r--r-- | gtk/win32-file-dlg.c | 4 |
15 files changed, 20 insertions, 20 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 4da0b7ba31..063c31ede7 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -40,8 +40,9 @@ ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) $(top_srcdir)/make-tapreg-dotc noinst_HEADERS = \ about_dlg.h \ capture_dlg.h \ - capture_prefs.h \ + capture_file_dlg.h \ capture_if_details_dlg.h \ + capture_prefs.h \ cfilter_combo_utils.h \ color_dlg.h \ colors.h \ @@ -53,7 +54,6 @@ noinst_HEADERS = \ dfilter_expr_dlg.h \ dlg_utils.h \ expert_comp_table.h \ - file_dlg.h \ fileset_dlg.h \ filter_dlg.h \ find_dlg.h \ diff --git a/gtk/Makefile.common b/gtk/Makefile.common index 3baed4c150..66dc577575 100644 --- a/gtk/Makefile.common +++ b/gtk/Makefile.common @@ -41,6 +41,7 @@ GENERATED_FILES = $(GENERATED_HEADER_FILES) $(GENERATED_C_FILES) ETHEREAL_GTK_SRC = \ about_dlg.c \ capture_dlg.c \ + capture_file_dlg.c \ capture_if_dlg.c \ capture_if_details_dlg.c \ capture_info_dlg.c \ @@ -58,7 +59,6 @@ ETHEREAL_GTK_SRC = \ drag_and_drop.c \ ethereal-tap-register.c \ expert_comp_table.c \ - file_dlg.c \ fileset_dlg.c \ filter_dlg.c \ find_dlg.c \ diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c index c5a6dc1e7e..33e1e0ec6d 100644 --- a/gtk/capture_dlg.c +++ b/gtk/capture_dlg.c @@ -51,7 +51,7 @@ #include "ringbuffer.h" #include <epan/filesystem.h> #include "compat_macros.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "help_dlg.h" #include "gtkglobals.h" #include "cfilter_combo_utils.h" diff --git a/gtk/file_dlg.c b/gtk/capture_file_dlg.c index 81da2cde60..6c9232e20a 100644 --- a/gtk/file_dlg.c +++ b/gtk/capture_file_dlg.c @@ -1,5 +1,5 @@ -/* file_dlg.c - * Dialog boxes for handling files +/* capture_file_dlg.c + * Dialog boxes for handling capture files * * $Id$ * @@ -43,7 +43,7 @@ #include "simple_dialog.h" #include "menu.h" #include "dlg_utils.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "main.h" #include "compat_macros.h" #include <epan/prefs.h> diff --git a/gtk/file_dlg.h b/gtk/capture_file_dlg.h index 9ad1511242..3a980ef97b 100644 --- a/gtk/file_dlg.h +++ b/gtk/capture_file_dlg.h @@ -1,4 +1,4 @@ -/* file_dlg.h +/* capture_file_dlg.h * Definitions for dialog boxes for handling files * * $Id$ @@ -117,4 +117,4 @@ void file_color_export_cmd_cb(GtkWidget *widget, gpointer data); */ void file_save_update_dynamics(void); -#endif /* file_dlg.h */ +#endif /* capture_file_dlg.h */ diff --git a/gtk/color_dlg.c b/gtk/color_dlg.c index 3e7a0c65c2..45b1f1f160 100644 --- a/gtk/color_dlg.c +++ b/gtk/color_dlg.c @@ -44,7 +44,7 @@ #include "dfilter_expr_dlg.h" #include "compat_macros.h" #include "filter_dlg.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "gtkglobals.h" #include <epan/prefs.h> #include "help_dlg.h" diff --git a/gtk/drag_and_drop.c b/gtk/drag_and_drop.c index 86471eee82..43825014b1 100644 --- a/gtk/drag_and_drop.c +++ b/gtk/drag_and_drop.c @@ -32,7 +32,7 @@ #include "gtkglobals.h" #include "util.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "../menu.h" #include "compat_macros.h" #include "file.h" diff --git a/gtk/main.c b/gtk/main.c index ebda7a10b5..b69b4405ca 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -122,7 +122,7 @@ #include "menu.h" #include "../main_window.h" #include "../menu.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include <epan/column.h> #include "proto_draw.h" #include "keys.h" diff --git a/gtk/menu.c b/gtk/menu.c index fcca34f315..12af55fd22 100644 --- a/gtk/menu.c +++ b/gtk/menu.c @@ -46,7 +46,7 @@ #include "color_dlg.h" #include "filter_dlg.h" #include "dlg_utils.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "fileset_dlg.h" #include "find_dlg.h" #include "goto_dlg.h" diff --git a/gtk/packet_list.c b/gtk/packet_list.c index 4792efc24d..80ea3b53f7 100644 --- a/gtk/packet_list.c +++ b/gtk/packet_list.c @@ -43,7 +43,7 @@ #include "epan/column_info.h" #include "compat_macros.h" #include <epan/prefs.h> -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "packet_list.h" #include "keys.h" #include "font_utils.h" diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c index de1bbc6231..27ba8aff04 100644 --- a/gtk/print_dlg.c +++ b/gtk/print_dlg.c @@ -37,7 +37,7 @@ #include <epan/prefs.h> #include "alert_box.h" #include "simple_dialog.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "gui_utils.h" #include "dlg_utils.h" #include "main.h" diff --git a/gtk/print_prefs.c b/gtk/print_prefs.c index 451c50f400..a0a8d99217 100644 --- a/gtk/print_prefs.c +++ b/gtk/print_prefs.c @@ -38,7 +38,7 @@ #include "util.h" #include "gui_utils.h" #include "dlg_utils.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "compat_macros.h" #include "gtkglobals.h" diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c index 745c55c0e1..d65c48559b 100644 --- a/gtk/proto_draw.c +++ b/gtk/proto_draw.c @@ -56,7 +56,7 @@ #include <epan/prefs.h> #include "colors.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "proto_draw.h" #include "packet_win.h" #include "dlg_utils.h" diff --git a/gtk/toolbar.c b/gtk/toolbar.c index ddcb66cad2..f68f43bdd7 100644 --- a/gtk/toolbar.c +++ b/gtk/toolbar.c @@ -47,7 +47,7 @@ #include "capture_dlg.h" #endif /* HAVE_LIBPCAP */ #include "filter_dlg.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "find_dlg.h" #include "goto_dlg.h" #include "color.h" diff --git a/gtk/win32-file-dlg.c b/gtk/win32-file-dlg.c index 1cb94326c4..81f993fd7b 100644 --- a/gtk/win32-file-dlg.c +++ b/gtk/win32-file-dlg.c @@ -56,7 +56,7 @@ #include "util.h" #include "epan/strutil.h" -#include "file_dlg.h" +#include "capture_file_dlg.h" #include "main.h" #include "menu.h" #include "dlg_utils.h" @@ -990,7 +990,7 @@ open_file_hook_proc(HWND of_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { return 0; } -/* XXX - Copied verbatim from gtk/file_dlg.c. Perhaps it +/* XXX - Copied verbatim from gtk/capture_file_dlg.c. Perhaps it * should be in wiretap instead? */ |