comparison src/browser/sat_browser/game_radiocol.py @ 692:7a9c7b9f6a28

browser_side: use host.default_muc instead of C.DEFAULT_MUC
author souliane <souliane@mailoo.org>
date Thu, 09 Apr 2015 11:37:25 +0200
parents 90a5a5af2550
children 82123705474b
comparison
equal deleted inserted replaced
691:16079280a39e 692:7a9c7b9f6a28
255 self.addClickListener(self) 255 self.addClickListener(self)
256 256
257 help_msg = """Accepted file formats: Ogg Vorbis (recommended), MP3.<br /> 257 help_msg = """Accepted file formats: Ogg Vorbis (recommended), MP3.<br />
258 Please do not submit files that are protected by copyright.<br /> 258 Please do not submit files that are protected by copyright.<br />
259 Click <a style="color: red;">here</a> if you need some support :)""" 259 Click <a style="color: red;">here</a> if you need some support :)"""
260 link_cb = lambda: self._parent.host.bridge.joinMUC(C.DEFAULT_MUC, self._parent.nick, profile=C.PROF_KEY_NONE, callback=lambda dummy: None, errback=self.host.showFailureRoomInvalid) 260 link_cb = lambda: self._parent.host.bridge.joinMUC(self._parent.host.default_muc, self._parent.nick, profile=C.PROF_KEY_NONE, callback=lambda dummy: None, errback=self.host.showFailureRoomInvalid)
261 self._parent.printInfo(help_msg, type_='link', link_cb=link_cb) 261 self._parent.printInfo(help_msg, type_='link', link_cb=link_cb)
262 262
263 def pushNextSong(self, title): 263 def pushNextSong(self, title):
264 """Add a song to the left panel's next songs queue""" 264 """Add a song to the left panel's next songs queue"""
265 next_song = Label(title) 265 next_song = Label(title)