~ps-jenkins/ubuntu-system-settings-online-accounts/trusty-proposed

Viewing all changes in revision 41.2.6.

  • Committer: Alberto Mardegan
  • Date: 2013-09-09 10:56:53 UTC
  • mto: (72.1.1 dbus2)
  • mto: This revision was merged to the branch mainline in revision 76.
  • Revision ID: alberto.mardegan@canonical.com-20130909105653-zxuq9u6zutrjw72b
Move OnlineAccounts into its own process

Create the com.canonical.OnlineAccountsUI D-Bus service, whose task is to show
the Online Accounts UI when clients request it.
The SystemSettings plugin for Online Accounts becomes just one of these clients.

The rationale for the change is that it has been decided by design that
multiple instances of Online Accounts can be running at the same time (because
the Online Accounts UI will be modal to the application which invoked it), yet
they need to coordinate in order to avoid the creation of the same account in
two different places. Using a single process with multiple windows and exposing
a D-Bus API seems to be the best approach and is also flexible enough to
accomodate for most of the design changes that might pop up. It's also a proved
approach, used already by signon-ui (in fact, most of the code is taken from
there).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: