Review Request: Make it possible to restore presence on login
Daniele Elmo Domenichelli
daniele.domenichelli at gmail.com
Fri Mar 23 11:59:23 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104363/#review11784
-----------------------------------------------------------
autoconnect.cpp
<http://git.reviewboard.kde.org/r/104363/#comment9344>
Is it possible to remove the automatic presence property if autoconnect is disabled (perhaps account->setAutomaticPresence(Tp::Presence()))? Anyway if it's not possible this shouldn't be a problem. Perhaps just test if it is possible, otherwise don't touch this ;)
config/telepathy-kded-config.cpp
<http://git.reviewboard.kde.org/r/104363/#comment9343>
You should write some strings here instead of uint, that will make a lot harder to understand the config file.
Moreover if for some reason the enum should change it won't break the config.
- Daniele Elmo Domenichelli
On March 22, 2012, 9:12 p.m., Dominik Cermak wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104363/
> -----------------------------------------------------------
>
> (Updated March 22, 2012, 9:12 p.m.)
>
>
> Review request for Telepathy.
>
>
> Description
> -------
>
> It's a simple approach to have this feature implemented.
> It uses the ConnectsAutomatically property and the AutomaticPresence.
> In the kcm you can enable/disable this feature (ConnectsAutomatically is set) and on every presence change the new presence is set as the AutomaticPresence.
> This way mission-control cares for setting the saved presence as soon as possible.
>
> Note: Disabling it takes only effect after the second login, I suspect something with the change notification between kcm and kded isn't working (that signal kcm should send and kded receive). So kded sets the property only after starting...
>
>
> This addresses bug 281929.
> http://bugs.kde.org/show_bug.cgi?id=281929
>
>
> Diffs
> -----
>
> CMakeLists.txt c55fa8431464b62a5426a6cf29319c3f6f5fce6f
> autoconnect.h PRE-CREATION
> autoconnect.cpp PRE-CREATION
> config/telepathy-kded-config.cpp 1fb515f56500407b7b221d1d5310237f8d94ca7f
> config/telepathy-kded-config.ui 0d616c5503b22f37c0ae4d5a94411d0f97b25d38
> telepathy-module.h 05d8c3847587049dcc4c9329a3b4d0b0bfee7d49
> telepathy-module.cpp 955ceec3a8fdaacaf24463ac4e721d0a53086d30
>
> Diff: http://git.reviewboard.kde.org/r/104363/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Dominik Cermak
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120323/4924f4c9/attachment-0001.html>
More information about the KDE-Telepathy
mailing list