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

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/status_listener.py

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2012-10-03 11:07:27 UTC
  • mfrom: (1.1.75)
  • Revision ID: package-import@ubuntu.com-20121003110727-twy7j76gz07k8pj0
Tags: 4.0.0-0ubuntu1
* New upstream release.
  - Clicking U1 icon in messaging menu doesn't work. (LP: #1059571)
  - Opening Ubuntu One from sync indicator menu doesn't work. (LP: #1058334)
  - Excessive CPU usage with sync menu integration. (LP: #1052922)
  - Re-order transfers in sync menu to be more useful. (LP: #1052956)
  - Don't fail when sync menu is not available. (LP: #1053775)
  - Fix missing icon in dash and alt+tab. (LP: #1053519)
* debian/patches:
  - Remove patches included in new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    return True
49
49
 
50
50
 
51
 
def get_listener(fsm, vm):
 
51
def get_listener(fsm, vm, syncdaemon_service=None):
52
52
    """Return an instance of the status listener, or None if turned off."""
53
53
    if should_start_listener():
54
 
        status_frontend = StatusFrontend()
 
54
        status_frontend = StatusFrontend(service=syncdaemon_service)
55
55
        return StatusListener(fsm, vm, status_frontend)
56
56
    else:
57
57
        return None