diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-13 03:36:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-13 03:36:17 +0000 |
commit | 6a91088ed00db63f0c9ac836881cb6a8bbaa3c27 (patch) | |
tree | 4a575eb199728d174e48da14e42bf8a1b553fcf7 /gtk/dlg_utils.c | |
parent | 399591ce24d3c56c1255495a137aa6499095c4e7 (diff) | |
download | wireshark-6a91088ed00db63f0c9ac836881cb6a8bbaa3c27.tar.gz wireshark-6a91088ed00db63f0c9ac836881cb6a8bbaa3c27.tar.bz2 wireshark-6a91088ed00db63f0c9ac836881cb6a8bbaa3c27.zip |
Put in a comment about some issues with the way we do "Update list of
packets in real time" captures.
svn path=/trunk/; revision=9269
Diffstat (limited to 'gtk/dlg_utils.c')
-rw-r--r-- | gtk/dlg_utils.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gtk/dlg_utils.c b/gtk/dlg_utils.c index 3c13f1ea8b..09eda1f9c3 100644 --- a/gtk/dlg_utils.c +++ b/gtk/dlg_utils.c @@ -1,7 +1,7 @@ /* dlg_utils.c * Utilities to use when constructing dialogs * - * $Id: dlg_utils.c,v 1.13 2003/12/12 02:50:04 gerald Exp $ + * $Id: dlg_utils.c,v 1.14 2003/12/13 03:36:17 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -51,6 +51,20 @@ dlg_window_new(const gchar *title) win = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(win), GTK_WIN_POS_CENTER_ON_PARENT); #endif + /* + * XXX - if we're running in the capture child process, we can't easily + * make this window transient for the main process's window. We just + * punt here. + * + * Perhaps the child process should only capture packets, write them to + * a file, and somehow notify the parent process and let *it* do all + * the GUI work. If we can do that efficiently (so that we don't drop + * more packets), perhaps we can also do so even when we're *not* doing + * an "Update list of packets in real time" capture. That'd let the + * child process run set-UID on platforms where you need that in order + * to capture, and might also simplify the job of having the GUI main + * loop wait both for user input and packet arrival. + */ if (top_level) { gtk_window_set_transient_for(GTK_WINDOW(win), GTK_WINDOW(top_level)); } |