[Bug 24104] TpAccountManager: have a concept of the global presence that new accounts get
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 12 18:50:06 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=24104
--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-07-12 09:50:05 PDT ---
On Bug #29021, wjt writes:
> It would be nice if the default value of ConnectAutomatically and
> AutomaticPresence could be configured (by tonking properties on AM, say).
>
> It would also be nice to be able to configure these two properties globally,
> say by tonking some other properties on AM. Then Empathy could show UI like
> this:
>
> [×] Automatically connect on startup
>
> Default status: ( ) Available
> (o) Busy
> ( ) Invisible
>
> and implement it by setting two properties rather than 2 × n properties.
We have a number of related things:
* default requested presence for new accounts (can be offline)
* default automatic presence for new accounts (cannot be offline)
* whether accounts should connect automatically if connectivity is available
Regardless of the value of ConnectAutomatically, accounts will also connect
with AutomaticPresence if a channel is requested, which is why
AutomaticPresence is only allowed to be an online presence.
A possible API:
property AccountManager.DefaultConnectAutomatically: b r/w
The default ConnectAutomatically state with which to create new accounts,
if none is specified in the _CreateAccount_ call.
method AccountManager.SetAllConnectAutomatically(b) -> nothing
Set DefaultConnectAutomatically, and the ConnectAutomatically properties
of all accounts, to the given value.
property AccountManager.DefaultAutomaticPresence: (uss) r/w
The default AutomaticPresence with which to create new accounts, if
none is specified in the _CreateAccount_ call.
method AccountManager.SetAllAutomaticPresences(u, s, s) -> nothing
Set DefaultAutomaticPresence, and the AutomaticPresence properties
of all accounts, to the given value.
method AccountManager.SetAllPresences(u, s, s, b: Save_Default) -> nothing
Set the RequestedPresence of every account to the same value.
If Save_Default is TRUE, and the presence is not offline, also
set DefaultAutomaticPresence, and the AutomaticPresence properties
of all accounts, to that value.
addendum to RequestedPresence:
If ConnectAutomatically is TRUE, the RequestedPresence of a new account
defaults to its AutomaticPresence; otherwise, it defaults to
(Offline, "offline", "").
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list