~mvo/ubuntu-sso-client/strawman-lp711413

« back to all changes in this revision

Viewing changes to bin/ubuntu-sso-login

  • Committer: natalia.bidart at canonical
  • Date: 2011-01-11 19:13:19 UTC
  • mto: This revision was merged to the branch mainline in revision 668.
  • Revision ID: natalia.bidart@canonical.com-20110111191319-alzmdkexz9oy2y0l
The service should shutdown when unused (LP: #701606).

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    bus_name = dbus.service.BusName(DBUS_BUS_NAME, bus=dbus.SessionBus())
95
95
    SSOLogin(bus_name, object_path=DBUS_ACCOUNT_PATH)
96
96
    SSOCredentials(bus_name, object_path=DBUS_CRED_PATH)
97
 
    CredentialsManagement(bus_name, object_path=DBUS_CREDENTIALS_PATH)
 
97
    CredentialsManagement(timeout_func=gtk.timeout_add,
 
98
                          shutdown_func=gtk.main_quit,
 
99
                          bus_name=bus_name, object_path=DBUS_CREDENTIALS_PATH)
98
100
 
99
101
    gtk.main()