Reviewed by Dave Harrison.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Apr 2005 17:59:15 +0000 (17:59 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Apr 2005 17:59:15 +0000 (17:59 +0000)
commit3f46708d544faf62025f93495974ff169dcd2733
treed72b442efbda1d412178b2d0e2dc9e3b77671d88
parenta0366c14b25abd7f54f5f23b8507781182e104ff
    Reviewed by Dave Harrison.

        - fixed <rdar://problem/3547489> pop-up window blocking preference and
        menu item can easily get out of sync.

        * WebView.subproj/WebPreferences.m:
        (-[WebPreferences _setStringValue:forKey:]):
        save local value before setting value in NSUserDefaults, so clients reacting to NSUserDefaults
        change notification but calling back on WebPreferences API will see the updated value.
        (-[WebPreferences _setIntegerValue:forKey:]):
        ditto
        (-[WebPreferences _setBoolValue:forKey:]):
        ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView.subproj/WebPreferences.m