~ubuntu-branches/ubuntu/raring/gnome-clocks/raring

« back to all changes in this revision

Viewing changes to gnomeclocks/utils.py

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-10-15 21:32:52 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20121015213252-g95nrckthsqpydb7
Tags: 0.1.4-0ubuntu1
New upstream bugfix and translation update release (LP: #1067141)

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
 
135
135
    def show(self):
136
136
        if self.canberra:
137
 
            self.canberra.play(1, pycanberra.CA_PROP_EVENT_ID, self.soundid, None)
 
137
            self.canberra.play(1,
 
138
                               pycanberra.CA_PROP_EVENT_ID, self.soundid,
 
139
                               pycanberra.CA_PROP_MEDIA_ROLE, "alarm",
 
140
                               None)
138
141
        if self.notification:
139
142
            self.notification.show()
140
143