Wireshark-commits: [Wireshark-commits] rev 48693: /trunk/ /trunk/ui/gtk/: capture_file_dlg.c main_m

Date: Mon, 01 Apr 2013 23:44:31 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48693

User: guy
Date: 2013/04/01 04:44 PM

Log:
 Add routines to file.c to indicate whether:
 
 	a save can be done ("can" in the sense of "there's something to
 	save" and in the sense of "we can write that something out");
 
 	a "save as" can be done (in the sense of "we can write what we
 	have out");
 
 	there's unsaved data to save (which might be unsaved changes or
 	might be a temporary file full of packets);
 
 and use them as appropriate.  This means that the "unsaved data"
 indicator in the UI will be turned on for temporary files full of
 packets as well as for files with unsaved changes; that's what we want.

Directory: /trunk/ui/gtk/
  Changes    Path                  Action
  +6 -7      capture_file_dlg.c    Modified
  +2 -25     main_menubar.c        Modified
  +1 -1      main_titlebar.c       Modified
  +4 -15     main_toolbar.c        Modified

Directory: /trunk/ui/qt/
  Changes    Path               Action
  +9 -35     main_window.cpp    Modified

Directory: /trunk/
  Changes    Path          Action
  +93 -5     file.c        Modified
  +27 -2     file.h        Modified