webos-internals/tweaks — pull request #1 by ShiftyAxel (2012-07-17 14:50:13+00:00)
Title: Tweaks 3.0

I removed the Mojo components completely and added support for setting Luna preferences via a setPreference PalmService call. This is controlled by a 'prefserv' entry in the json: if it exists then Tweaks will call setPreferences for that item, if not then it simply gets ignored.

A point to note however: At the moment, Luna entries still rely on Tweaks' internal prefs database- this works fine but has the potential for desyncs between the database and the preference's actual value. I tried implementing a getPreferences call (i believe the code is still there, just commented out) but couldn't wrap my head around interfacing between the callback and the displayed values.