From 503a830e48e781d0d8e6b58b811626a463678a71 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Wed, 21 Jan 2004 22:00:28 +0000 Subject: The progressbar had a parameter to specify the text of the Cancel/Stop button. As this will always be a Cancel of a running operation, this parameter was removed. This makes us also able to use a stock button for this. svn path=/trunk/; revision=9774 --- progress_dlg.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'progress_dlg.h') diff --git a/progress_dlg.h b/progress_dlg.h index a2dc6d9fb7..2cac3c0c76 100644 --- a/progress_dlg.h +++ b/progress_dlg.h @@ -1,7 +1,7 @@ /* progress_dlg.h * Definitions for progress dialog box routines * - * $Id: progress_dlg.h,v 1.5 2002/08/28 22:28:42 guy Exp $ + * $Id: progress_dlg.h,v 1.6 2004/01/21 22:00:28 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -41,25 +41,23 @@ typedef struct progdlg progdlg_t; * * The first argument is the task to do, e.g. "Loading". * The second argument is the item to do, e.g. "capture.cap". - * The third argument is the string to put in the "stop this operation" button. - * The fourth argument is a pointer to a Boolean variable that will be + * The third argument is a pointer to a Boolean variable that will be * set to TRUE if the user hits that button. */ progdlg_t *create_progress_dlg(const gchar *task_title, const gchar *item_title, - const gchar *stop_title, gboolean *stop_flag); + gboolean *stop_flag); /* Create a progress dialog, but only if it's not likely to disappear * immediately, which can be disconcerting for the user. * - * The first four arguments are as for create_progress_dlg(). + * The first three arguments are as for create_progress_dlg(). * Following those is a pointer to a GTimeVal structure which holds * the time at which the caller started to process the data, and the * current progress (0..1). */ progdlg_t * delayed_create_progress_dlg(const gchar *task_title, const gchar *item_title, - const gchar *stop_title, gboolean *stop_flag, const GTimeVal *start_time, - gfloat progress); + gboolean *stop_flag, const GTimeVal *start_time, gfloat progress); /* * Update the progress information of the progress dialog box. -- cgit v1.2.3