summaryrefslogtreecommitdiff
path: root/gtk/drag_and_drop.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-12-14 22:05:29 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-12-14 22:05:29 +0000
commit81b585cf8e24b954fed8077d53a2970c3e761724 (patch)
tree9454b3ef349ecdf735dc9c0008964bc6c30a171a /gtk/drag_and_drop.c
parent6d11b171d64f005f7c29d271d983a8e35fa43c86 (diff)
downloadwireshark-81b585cf8e24b954fed8077d53a2970c3e761724.tar.gz
From Valerio Messina:
As now, when Wireshark save capture files, it show "Loading" in status bar and in the dialog box, warning many users of lost them packets. Saving work as expected. Is simply a GUI use interaction problem. svn path=/trunk/; revision=31269
Diffstat (limited to 'gtk/drag_and_drop.c')
-rw-r--r--gtk/drag_and_drop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/drag_and_drop.c b/gtk/drag_and_drop.c
index c0ca337f19..971c9c4ebc 100644
--- a/gtk/drag_and_drop.c
+++ b/gtk/drag_and_drop.c
@@ -177,7 +177,7 @@ dnd_merge_files(int in_file_count, char **in_filenames)
}
g_free(tmpname);
- switch (cf_read(&cfile)) {
+ switch (cf_read(&cfile, FALSE)) {
case CF_READ_OK:
case CF_READ_ERROR:
@@ -252,7 +252,7 @@ dnd_open_file_cmd(gchar *cf_names_freeme)
/* open and read the capture file (this will close an existing file) */
if (cf_open(&cfile, in_filenames[0], FALSE, &err) == CF_OK) {
/* XXX - add this to the menu if the read fails? */
- cf_read(&cfile);
+ cf_read(&cfile, FALSE);
add_menu_recent_capture_file(in_filenames[0]);
} else {
/* the capture file couldn't be read (doesn't exist, file format unknown, ...) */