Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk capture_dlg.c color_dlg.c display_opts.c
guy 2000/07/04 21:45:48 CDT
Modified files:
gtk capture_dlg.c color_dlg.c display_opts.c
dlg_utils.c dlg_utils.h filter_prefs.c
find_dlg.c goto_dlg.c plugins_dlg.c
prefs_dlg.c print_dlg.c progress_dlg.c
simple_dialog.c
Log:
Add a "dlg_window_new()" routine, which creates a GTK_WINDOW_DIALOG
window and makes it transient for the top-level window; the
transient-for at least provides a hint to X window managers to
minimize the dialog if the main window is minimized;
keep the dialog on top of the main window in the Z order for
windows;
perhaps (if there are any window managers that actually *do*
this) even put it atop the main window in the X-Y plane (KWM
doesn't and I seem to remember that the Exceed X server for
Windows doesn't).
It's generally considered the Right Thing To Do for dialog boxes.
Use that routine to create dialog boxes, rather than doing it directly
in the code for that dialog box.
Revision Changes Path
1.28 +2 -2 ethereal/gtk/capture_dlg.c
1.4 +4 -3 ethereal/gtk/color_dlg.c
1.10 +2 -2 ethereal/gtk/display_opts.c
1.4 +14 -1 ethereal/gtk/dlg_utils.c
1.3 +11 -1 ethereal/gtk/dlg_utils.h
1.12 +3 -2 ethereal/gtk/filter_prefs.c
1.12 +2 -2 ethereal/gtk/find_dlg.c
1.8 +2 -2 ethereal/gtk/goto_dlg.c
1.14 +4 -3 ethereal/gtk/plugins_dlg.c
1.12 +2 -2 ethereal/gtk/prefs_dlg.c
1.19 +2 -2 ethereal/gtk/print_dlg.c
1.3 +3 -2 ethereal/gtk/progress_dlg.c
1.3 +4 -4 ethereal/gtk/simple_dialog.c