Wireshark-commits: [Wireshark-commits] rev 42648: /trunk/epan/ /trunk/epan/: prefs.c
Date: Wed, 16 May 2012 03:06:08 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42648

User: morriss
Date: 2012/05/15 08:06 PM

Log:
 Store a copy of the default preferences (e_prefs; the dissectors' default
 preference values have been stored for a while now).
 
 If a preference has not been changed from its default value, comment it out
 when writing the preferences file.  That way you won't get warnings about
 some new "gui.*" (or other non-dissector) preference when switching between
 SVN Wireshark and some older version.
 
 
 Also fix some ommissions in copy_prefs() (preferences that were not copied).
 
 
 (All these non-dissector preferences seem to require an awful lot of code;
 it would be very nice to have a non-dissector preference registration API that
 the GUI and core could use so we could eliminate a lot of this code.)

Directory: /trunk/epan/
  Changes    Path          Action
  +157 -10   prefs.c       Modified