diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-01-21 22:00:28 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-01-21 22:00:28 +0000 |
commit | 503a830e48e781d0d8e6b58b811626a463678a71 (patch) | |
tree | 54079fec06e342e09f40812759f233be08f4ca41 /progress_dlg.h | |
parent | 76d25fca7d0658cd2f7ae2bfb499acc1db9d7906 (diff) | |
download | wireshark-503a830e48e781d0d8e6b58b811626a463678a71.tar.gz wireshark-503a830e48e781d0d8e6b58b811626a463678a71.tar.bz2 wireshark-503a830e48e781d0d8e6b58b811626a463678a71.zip |
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
Diffstat (limited to 'progress_dlg.h')
-rw-r--r-- | progress_dlg.h | 12 |
1 files changed, 5 insertions, 7 deletions
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 <gerald@ethereal.com> @@ -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. |