Review Request: Make it possible to restore presence on login
Daniele Elmo Domenichelli
daniele.domenichelli at gmail.com
Thu Mar 22 15:05:16 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104363/#review11749
-----------------------------------------------------------
The code is good, but this patch is going to be confusing, If I want to set manually the auto-connect flag only for some accounts this will break everything.
So what about make the checkbox to be tristate, the user can set only on and off from the interface, but if you modify manually the config file you can set a third state (per account) that means that you set them manually and the module should do nothing?
autoconnect.cpp
<http://git.reviewboard.kde.org/r/104363/#comment9316>
Perhaps you can check if it is already set. Or perhaps tp-qt4 is smart enough not to do anything if it is the same value
autoconnect.cpp
<http://git.reviewboard.kde.org/r/104363/#comment9317>
Same here
- Daniele Elmo Domenichelli
On March 22, 2012, 2:17 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, 2:17 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/20120322/9f3b7b5f/attachment.html>
More information about the KDE-Telepathy
mailing list