aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/drag_and_drop.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-14 22:05:29 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-14 22:05:29 +0000
commitf524afe61291dab7deb26366f21cd41df3c8d537 (patch)
tree9454b3ef349ecdf735dc9c0008964bc6c30a171a /gtk/drag_and_drop.c
parent720fc7928605aa31ed8f8c1a04a29e4280aef3bf (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31269 f5534014-38df-0310-8fa8-9805f1628bb7
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, ...) */