aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_draw.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 /gtk/proto_draw.c
parenta78d2fbc63c42126d55b8b3871d19d25c4577761 (diff)
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 'gtk/proto_draw.c')
-rw-r--r--gtk/proto_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c
index 0d0c8a47f9..5ef7d99fc5 100644
--- a/gtk/proto_draw.c
+++ b/gtk/proto_draw.c
@@ -1081,6 +1081,7 @@ packet_hex_print_common(GtkTextView *bv, const guint8 *pd, int len, int bstart,
time in order to get to the next progress bar step). */
if (progbar == NULL)
progbar = delayed_create_progress_dlg("Processing", "Packet Details",
+ TRUE,
&progbar_stop_flag,
&progbar_start_time,
progbar_val);