~ubuntu-branches/ubuntu/lucid/awn-extras-applets/lucid

« back to all changes in this revision

Viewing changes to applets/maintained/hardware-sensors/interfaces/sensorinterface.py

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-03-30 20:26:40 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100330202640-vza3bdnv9gc9bg5z
Tags: 0.4.0~rc1-0ubuntu1
* New upstream release (rc1) (LP: #551309)
 - Stack applet close on click (LP: #261520)
* debian/patches/
 - 03-remove-cairo-menu-pref.patch: From upstream (r1244 + r1245 + r1252),
   remove menu entry for cairo-menu preferences, it's not implemented
   (LP: #511254)
 - 04-tomboy-threading-free.patch: From upstream (r1246), remove threading to
   make the applet working. 
* debian/*.install: Update installation location of comics and digital 
  applets.
* debian/control: 
 - Move digital applet from python to C, and add proper Replaces.
 - Add Replaces for awn-applets-c-core to handle migration from 0.3.2.2.
   (LP: #524559)

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
                if self.__alarm_cb:
176
176
                    self.__alarm_cb(self, message)
177
177
                else:
178
 
                    print messages
 
178
                    print message
179
179
 
180
180
            # Turn of the alarm when value gets 5% bellow high_value
181
181
            elif value < self.high_value - 0.05 * abs(self.high_value):
217
217
        if self.__last_update + self.__timeout > time.time():
218
218
            return self.__output
219
219
        self.__last_update = time.time()
 
220
        # Get updated value by calling the callback
220
221
        self.__output = self.get_ouput()
221
222
        return self.__output