diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-04-28 18:05:06 +0200 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-05-02 18:17:34 +0200 |
commit | eb1dd03b810c3118495412884565af3d26669fad (patch) | |
tree | 2fca42c9736ba6f43cbcaf76bb14dd9950044a7e /tools | |
parent | 0462efb2da82a944e548913b5e342267a70684bd (diff) | |
download | connman-eb1dd03b810c3118495412884565af3d26669fad.tar.gz connman-eb1dd03b810c3118495412884565af3d26669fad.tar.bz2 connman-eb1dd03b810c3118495412884565af3d26669fad.zip |
session: Call update_info() if service changes
Instead of trying to figure out when to call update_info() at various
places, just call update_info() at the end of session_changed when the
selected service has been changed.
Another noteworthy change is the remove of g_timeout_add_seconds(...,
session_notify(), ...). It was introduced to 'fix' a problem where
sometimes the notification message was not send. The source of this
problem seemed to be that session_notify() couldn't be called if the
current context was called from a incoming D-Bus call
(e.g. Session.Connect()). Though without g_timeout_add_seconds it
still works now. So it's properly better to remove it again since it's
seems not necessary.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions