Wireshark-commits: [Wireshark-commits] rev 42721: /trunk/ /trunk/ui/gtk/: capture_dlg.c capture_fil

Date: Sun, 20 May 2012 08:56:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42721

User: guy
Date: 2012/05/20 01:56 AM

Log:
 Change the "user_saved" member of a capture_file structure to
 "unsaved_changes", and have it be TRUE iff changes have been made to the
 file since it was read - *not* if it's a temporary file from a live
 capture.
 
 Check the "is_tempfile" member, and the "unsaved_changes" member, when
 appropriate.
 
 Just have a set_toolbar_for_capture_file() routine that updates the
 "save", "close", and "reload" toolbar as appropriate, given a
 capture_file structure - absorb the function of
 set_toolbar_for_unsaved_capture_file() into it.

Directory: /trunk/ui/gtk/
  Changes    Path                  Action
  +4 -2      capture_dlg.c         Modified
  +18 -8     capture_file_dlg.c    Modified
  +4 -2      drag_and_drop.c       Modified
  +4 -2      file_import_dlg.c     Modified
  +9 -5      main.c                Modified
  +13 -9     main_menubar.c        Modified
  +33 -24    main_toolbar.c        Modified
  +5 -11     main_toolbar.h        Modified
  +2 -2      new_packet_list.c     Modified
  +2 -2      summary_dlg.c         Modified


(5 files not shown)