http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43478
User: guy
Date: 2012/06/25 11:38 AM
Log:
Copy over r43477 from the trunk:
------------------------------------------------------------------------
r43477 | guy | 2012-06-25 11:37:52 -0700 (Mon, 25 Jun 2012) | 28 lines
Only allow "Save" if
the file has unsaved changes, and we can save it in some format
through Wiretap
or
the file is a temporary file and has no unsaved changes (so that
"saving" it just means copying it).
Only allow "Save As" if
we can save it in some format through Wiretap
or
the file is a temporary file and has no unsaved changes (so that
"saving" it just means copying it).
This means that we don't support using "Save As" for just copying the
file unless we can do that with Wiretap; copying the file byte-for-byte
only works as "saving" if there are no unsaved changes *and* we're
saving it in the same format that it's in *and* we're saving it with the
same form of compression (if any) that it has.
Rename cf_can_save_as() to cf_can_write_with_wiretap() to better reflect
what it really does.
Directory: /trunk-1.8/ui/gtk/
Changes Path Action
+23 -9 main_menubar.c Modified
+14 -1 main_toolbar.c Modified
Directory: /trunk-1.8/
Changes Path Action
+3 -2 file.c Modified
+2 -2 file.h Modified