Пример #1
0
 def destroy(self, widget):
     postoffice.disconnect(['request-album-cover', 'request-images'], self)
     settings.save()
     from player import the_player
     if the_player:
         the_player.stop()
     gtk.main_quit()
Пример #2
0
 def stop(self):
     postoffice.disconnect(['fetch', 'fetch-ok', 'fetch-fail'], self)
Пример #3
0
 def on_destroy(self, wnd):
     postoffice.disconnect('album-cover', self)
     if self.fetcher:
         self.fetcher.stop()
         self.fetcher = None
Пример #4
0
 def on_destroy(self, wnd):
     postoffice.disconnect('images', self)
Пример #5
0
 def on_destroy(self, wnd):
     _BaseList.on_destroy(self, wnd)
     postoffice.disconnect('album-cover', self)
Пример #6
0
 def on_destroy(self, wnd):
     postoffice.disconnect('settings-changed', self)