Wireshark-bugs: [Wireshark-bugs] [Bug 7402] generic preferences implementation
Date: Fri, 29 Jun 2012 04:48:16 -0700 (PDT)

--- Comment #5 from Michael Mann <[email protected]> 2012-06-29 04:48:16 PDT ---
> Is this patch really backward compatibility?
> XX:YY:ZZ          Warn ~/.wireshark/preferences line 260: No such preference
> "packet_list.display_hidden_proto_items" (applying your preferences once should
> remove this warning)
> This variable is now called 'protocols.display_hidden_proto_items'

No, neither patch is backwards compatible due to the fact that they are more
"name prefixes", than "categories" within the Preferences dialog.  I tried to
match as best I could, but the "code backwards compatibility" comment was meant
for the e_prefs structure in that it wasn't completely broken up into
individual variables (like preferences within protocols probably are).   

For true backwards compatibility the preferences API would need to be extended
to have an "override name", if a preference wasn't to follow the
'module.preference_name' format.  And I'm not sure if its as easy as that (ie
all of the preferences code that reads/writes assumes a
'module.preference_name' format)

Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.