Pass {delayed_}create_progress_dlg a pointer the top level window
authorGerald Combs <gerald@wireshark.org>
Thu, 19 Jul 2012 21:49:52 +0000 (21:49 -0000)
committerGerald Combs <gerald@wireshark.org>
Thu, 19 Jul 2012 21:49:52 +0000 (21:49 -0000)
commit0da59a005829eb5daf49c6477219a35ac4e73ab3
tree0890e6704f36a03fa1d444d4ad8e25411ec36f34
parentbdb0898ff8fccc3a7fba48bd36c8a13899745177
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
19 files changed:
cfile.c
cfile.h
file.c
proto_hier_stats.c
ui/gtk/funnel_stat.c
ui/gtk/iax2_analysis.c
ui/gtk/packet_list_store.c
ui/gtk/packet_list_store.h
ui/gtk/progress_dlg.c
ui/gtk/rtp_analysis.c
ui/progress_dlg.h
ui/qt/QtShark.pro
ui/qt/main_status_bar.cpp
ui/qt/main_status_bar.h
ui/qt/main_window.cpp
ui/qt/main_window.h
ui/qt/progress_bar.cpp [new file with mode: 0644]
ui/qt/progress_bar.h [moved from ui/qt/progress_dialog.h with 56% similarity]
ui/qt/progress_dialog.cpp [deleted file]