~didrocks/ubuntuone-client/use_result_var

« back to all changes in this revision

Viewing changes to bin/ubuntuone-syncdaemon

  • Committer: Bazaar Package Importer
  • Author(s): Rodney Dawes
  • Date: 2011-01-25 16:42:52 UTC
  • mfrom: (1.1.43 upstream)
  • Revision ID: james.westby@ubuntu.com-20110125164252-gyx1hii7jk1b3hw7
Tags: 1.5.3-0ubuntu1
* New upstream release.
  - Metadata load is too slow (LP: #436612)
  - Out of space dialog is broken (LP: #650671)
  - Should not autoconnect when there are no credentials (LP: #701588)
  - gsd extension should not ask for sso credentials (LP: #702171) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
def is_already_running():
51
51
    """ check if there is another instance registered in DBus """
52
52
    bus = dbus.SessionBus()
53
 
    request = bus.request_name(dbus_interface.DBUS_IFACE_UNIQUE_NAME,
 
53
    request = bus.request_name(dbus_interface.DBUS_IFACE_NAME,
54
54
                               dbus.bus.NAME_FLAG_DO_NOT_QUEUE)
55
55
    return request == dbus.bus.REQUEST_NAME_REPLY_EXISTS
56
56