aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/file_import_dlg.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-06-19 15:22:56 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-06-19 15:22:56 +0000
commit909d2eb3090c773d271097d2c9dc5e164aa2f03b (patch)
tree23e926d38c1b4cf03da4c2adaa2ddc5dac5810ce /ui/gtk/file_import_dlg.c
parent54d58d66f71496a23c948144e1ad9fccad9fe39a (diff)
Allow for column headers not to be printed in order to make it possible to export packets as plain text in a format that could then have a chance of being imported again (assuming other factors such as packet bytes were printed, etc.) in order to recover the original pcap file.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1636 svn path=/trunk/; revision=50036
Diffstat (limited to 'ui/gtk/file_import_dlg.c')
-rw-r--r--ui/gtk/file_import_dlg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/gtk/file_import_dlg.c b/ui/gtk/file_import_dlg.c
index 4b7cd5a15d..447e3e812a 100644
--- a/ui/gtk/file_import_dlg.c
+++ b/ui/gtk/file_import_dlg.c
@@ -901,8 +901,9 @@ file_import_dlg_new(void)
g_object_set_data(G_OBJECT(timefmt_cb), INPUT_TIMEFMT_LBL_KEY, timefmt_lbl);
timefmt_te = gtk_entry_new();
+ gtk_entry_set_text(GTK_ENTRY(timefmt_te), "%F %T.");
gtk_widget_set_tooltip_text(timefmt_te,
- "The format in which to parse timestamps in the text file (eg. %H:%M:%S.)."
+ "The format in which to parse timestamps in the text file (eg. %F %T.)."
" Format specifiers are based on strptime(3)");
gtk_box_pack_start(GTK_BOX(timefmt_hb), timefmt_te, FALSE, FALSE, 0);
@@ -922,7 +923,7 @@ file_import_dlg_new(void)
" (inbound or outbound) of the packet");
gtk_box_pack_start(GTK_BOX(dir_hb), dir_cb, FALSE, FALSE, 0);
- g_object_set_data(G_OBJECT(input_frm), INPUT_DIR_CB_KEY, dir_cb);
+ g_object_set_data(G_OBJECT(input_frm), INPUT_DIR_CB_KEY, dir_cb);
/* Setup the import frame */
@@ -1118,7 +1119,7 @@ file_import_dlg_new(void)
framelen_te = gtk_entry_new();
gtk_widget_set_tooltip_text(framelen_te,
- "The maximum size of the frames to write to the import capture file (max 64000)");
+ "The maximum size of the frames to write to the import capture file (max 65535)");
gtk_box_pack_start(GTK_BOX(framelen_hb), framelen_te, FALSE, FALSE, 0);
g_object_set_data(G_OBJECT(import_frm), IMPORT_FRAME_LENGTH_TE_KEY, framelen_te);