diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-07-19 21:49:52 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-07-19 21:49:52 +0000 |
commit | 0da59a005829eb5daf49c6477219a35ac4e73ab3 (patch) | |
tree | 0890e6704f36a03fa1d444d4ad8e25411ec36f34 /proto_hier_stats.c | |
parent | bdb0898ff8fccc3a7fba48bd36c8a13899745177 (diff) | |
download | wireshark-0da59a005829eb5daf49c6477219a35ac4e73ab3.tar.gz wireshark-0da59a005829eb5daf49c6477219a35ac4e73ab3.tar.bz2 wireshark-0da59a005829eb5daf49c6477219a35ac4e73ab3.zip |
Pass {delayed_}create_progress_dlg a pointer the top level window
so that we can properly associate a widget with create, update, and
destroy events. Only used by Qt so far but it should be easy enough to
add to GTK+.
Rename ui/qt/progress_dialog.{h,cpp} to progress_bar.{h,cpp}. Show a
progress bar in the status bar of the main window instead of creating
a separate dialog. Note that we still need to add a "cancel" mechanism
and display the task and item titles somewhere.
Thus began the War Against Gratuitous Dialogs.
svn path=/trunk/; revision=43833
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index 3791632817..5ba3f97064 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -224,7 +224,8 @@ ph_stats_new(void) to get to the next progress bar step). */ if (progbar == NULL) progbar = delayed_create_progress_dlg( - "Computing", "protocol hierarchy statistics", + cfile.window, "Computing", + "protocol hierarchy statistics", TRUE, &stop_flag, &start_time, progbar_val); /* Update the progress bar, but do it only N_PROGBAR_UPDATES |