~ubuntu-branches/ubuntu/lucid/ubuntuone-client/lucid-updates

« back to all changes in this revision

Viewing changes to bin/ubuntuone-client-applet

  • Committer: Bazaar Package Importer
  • Author(s): Rodney Dawes
  • Date: 2009-10-16 13:35:00 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20091016133500-t2zacp5ozfj1hpug
Tags: 1.0.2-0ubuntu1
* New upstream release.
  - Avoid conflicts due to bouncing FS events (LP: #449605)
  - Don't try to authorize if connect on start is never (LP: #451154)

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
      def main(self):
378
378
            """Starts the gtk main loop."""
379
379
            from twisted.internet import reactor
380
 
            gobject.idle_add(self.check_for_token, True)
 
380
            if self.connect != 2 or (self.connect == 1 and self.connected):
 
381
                  gobject.idle_add(self.check_for_token, True)
381
382
 
382
383
            reactor.run()
383
384