~ubuntu-branches/ubuntu/maverick/ubuntuone-client/maverick-proposed

« back to all changes in this revision

Viewing changes to bin/ubuntuone-syncdaemon

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2010-09-20 22:37:05 UTC
  • mfrom: (1.1.37 upstream)
  • Revision ID: james.westby@ubuntu.com-20100920223705-nrgrhwqpt52a7a4v
Tags: 1.4.2-0ubuntu1
* New upstream release:
  - Adding a try-except block around clientdefs constants import to be able to      run on development environments (Natalia Bidart) (LP: #628956)
  - Fix LR to delete the share metadata or unsubscribe the udf if the volume
    directory is missing from disk but VolumeManager still have the volume as 
    "active" (Guillermo Gonzalez) (LP: #556783)
  - FSM creates the directories now, not Sync (Facundo Batista)
  - Default logging for ubuntuone-preferences is INFO (Natalia Bidart)
    (LP: #640438)
  - Plug a memory leak (Rodrigo Moya)
  - Added contacts for users with no addressbooks are kept in memory correctly
    now (Rodrigo Moya) (LP: #640171)
  - Fixed syncdaemon_metadata_get_is_synced to work for post-generations
    folders (Rodrigo Moya) (LP: #640392)
  - Fix a regression in VolumeManager, now it calls refresh_shares after
    server rescan (Guillermo Gonzalez) (LP: #638187)
  - Use com.syncdaemon.SyncDaemon.UniqueInstance name to check for existing
    instance of syncdaemon (Roman Yepishev) (LP: #639017)
  - Include glib's gi18n-lib.h, which forces definition of GETTEXT_PACKAGE
    (Rodrigo Moya) (LP: #640955)
  - Add syncdaemon_authentication_clear_token API for the music store to deal
    with invalid tokens (Rodrigo Moya) (LP: #634384)

Show diffs side-by-side

added added

removed removed

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