Use GTK+'s GtkMessageDialog for the questions we ask in the process of
authorGuy Harris <guy@alum.mit.edu>
Fri, 25 May 2012 21:25:55 +0000 (21:25 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 25 May 2012 21:25:55 +0000 (21:25 -0000)
commit601403570300c61921515bfc9e1a08a8d65cba5f
tree47a97b29a7ed76ebbcc7c7b7116ee1387c16fc1c
parentce9bd398931417602c5884019923f71b7dee4391
Use GTK+'s GtkMessageDialog for the questions we ask in the process of
saving files, and run it modal (which we're already doing with the
GtkFileChooserDialog); this means less callback-based state machine
stuff, simplifying the code paths a bit.

If we're saving a file before closing it, don't bother reloading it
after saving it.

svn path=/trunk/; revision=42855
15 files changed:
file.c
file.h
ui/gtk/capture_dlg.c
ui/gtk/capture_file_dlg.c
ui/gtk/capture_file_dlg.h
ui/gtk/drag_and_drop.c
ui/gtk/export_sslkeys.c
ui/gtk/file_import_dlg.c
ui/gtk/main.c
ui/gtk/main_menubar.c
ui/gtk/main_proto_draw.c
ui/gtk/main_toolbar.c
ui/gtk/print_dlg.c
ui/win32/file_dlg_win32.c
ui/win32/file_dlg_win32.h