~ubuntu-branches/ubuntu/raring/lernid/raring

« back to all changes in this revision

Viewing changes to lernid/widgets/Browser.py

  • Committer: Daniel Holbach
  • Date: 2012-04-24 10:16:11 UTC
  • mfrom: (10.1.3 ubuntu-proposed)
  • Revision ID: daniel.holbach@canonical.com-20120424101611-qfgmq6r0did49y14
Tags: 0.8.2.2ubuntu2
* Prepare for application to Ubuntu (universe)
* Dynamically load the schedule each minute at 5 seconds past the minute
  Addresses LP: #925756
* Slide.py have poppler render to a cairo surface and use a trick to
  get that into the pixmap. (LP: #972069)
  (Technique from diogodivision's "BlingSwitcher" through 
  http://www.mikedesjardins.net. Thank you.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
            self.set_location(url)
206
206
 
207
207
    def _classroom_msg_received(self, classroom, chan, sender, text):
208
 
        if not Options.get('unsafe-override') and not chan.is_moderated() and not self._on_faculty(sender):
 
208
        if not Options.get('unsafe-override') and not self._on_faculty(sender):
209
209
            return
210
210
        load, ignore = self._parse_urls(text)
211
211
        if load and not self._paused: