aboutsummaryrefslogtreecommitdiffstats
path: root/progress_dlg.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-21 22:00:28 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-21 22:00:28 +0000
commitb94417a89b665c2ffadc38d41de28d6275470edd (patch)
tree54079fec06e342e09f40812759f233be08f4ca41 /progress_dlg.h
parent0e7d3ddabf3a108a53bdfe7e96eabe557d06ed7a (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9774 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'progress_dlg.h')
-rw-r--r--progress_dlg.h12
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.