~nataliabidart/ubuntuone-client/handle-long-share-dir-name

« back to all changes in this revision

Viewing changes to ubuntuone/platform/linux/messaging.py

  • Committer: Tarmac
  • Author(s): eric.casteleijn at canonical
  • Date: 2011-02-03 18:44:43 UTC
  • mfrom: (828.3.3 mocky-horror-picture-show)
  • Revision ID: tarmac-20110203184443-tcemzyt0tpdybiut
This adds (mock) tests for the pynotify and indicate based implementations of notfication and messaging, so we have code coverage in the tests even for platform specific code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
            indicator.set_property("draw-attention", "true")
70
70
            self.server.show()
71
71
            indicator.show()
 
72
            return indicator
72
73
 
73
74
    def update_count(self, sender, new_count):
74
75
        """Update the count for an existing indicator."""