summaryrefslogtreecommitdiff
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-11-12 11:05:02 +0000
committerGuy Harris <guy@alum.mit.edu>2005-11-12 11:05:02 +0000
commit0dbf17b690f9f79960d67f5f8a58ad0b1e90965f (patch)
treef6374552ea26d82fdeba18a3587c5ee7e63554a1 /proto_hier_stats.c
parenta78d2fbc63c42126d55b8b3871d19d25c4577761 (diff)
downloadwireshark-0dbf17b690f9f79960d67f5f8a58ad0b1e90965f.tar.gz
Allow a progress dialog to have "Stop" or "Cancel" as the "terminate
button"; "Stop" should be used for operations that can only be stopped (meaning that what it's already done isn't undone), not cancelled (meaning that whatever it's already done *is* undone), for which "Cancel" is used. Allow the merging process to be cancelled. Clean up indentation. Update some comments. svn path=/trunk/; revision=16489
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 0e0d602988..beacf589b2 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -219,7 +219,7 @@ ph_stats_new(void)
if (progbar == NULL)
progbar = delayed_create_progress_dlg(
"Computing", "protocol hierarchy statistics",
- &stop_flag, &start_time, progbar_val);
+ TRUE, &stop_flag, &start_time, progbar_val);
/* Update the progress bar, but do it only N_PROGBAR_UPDATES
times; when we update it, we have to run the GTK+ main