On Fri, 2008-01-18 at 10:48 +0800, Halton Huo wrote:
[2]. tracker-preferences will send out the key changes D-BUS message when user click the widget, that will cause trackerd get the changeandtake effect directly. I'd like to change t-p to send out the changes only after use click "Close" button. What do you think?
Patch for this is ready. Please review it also. The basic idea is to have a GSList to store all the changes instead of sending out D-Bus messages directly. After user click "Close" button, go through the list, and send out message when it is different with orig conf. add_key_change() is to add key changes into priv->key_changes. send_key_change() is to send key change D-Bus message to trackerd. Thanks, Halton.
Attachment:
tracker--preferences-send-change-keys.diff
Description: Text Data