~ubuntu-branches/ubuntu/quantal/lernid/quantal

« back to all changes in this revision

Viewing changes to lernid/IrcBackend.py

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Higginson
  • Date: 2010-07-31 08:42:13 UTC
  • Revision ID: james.westby@ubuntu.com-20100731084213-g9zh9tl2xnib586s
Tags: 0.7
* New upstream version, fixes bugs:
  (LP: #530119) - Don't block UI when downloading slides
  (LP: #500495) - Should support other IRC channel prefixes than '#'
  (LP: #510003) - Warnings in the terminal when closing Lernid
  (LP: #530115) - exit in terminal
  (LP: #514733) - Preload the default page in browser
  (LP: #503224) - Lernid opens too small
  (LP: #530810) - URLs in chat area should be clickable 
  (LP: #530821) - Add an xchat-type separator line for new text in
                  classroom
  (LP: #531492) - missing copy menu entries for browser widget
* debian/control, change section:
  (LP: #546968) - Inappropriately appears in Ubuntu Software Center
                  "Developer Tools" > "Python"

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
            return
153
153
        def setup_channel(yours, object_path, properties):
154
154
            channel.do_connect(self._conn, object_path, properties)
 
155
        ircchan = '#' + channel.name if not channel.name[1] in '#&!+' else channel.name
155
156
        self._conn[CONNECTION_INTERFACE_REQUESTS].EnsureChannel({
156
157
                CHANNEL + ".ChannelType": CHANNEL_TYPE_TEXT,
157
158
                CHANNEL + ".TargetHandleType": HANDLE_TYPE_ROOM,
158
 
                CHANNEL + ".TargetID": "#" + channel.name,
 
159
                CHANNEL + ".TargetID": ircchan,
159
160
            },
160
161
            reply_handler = setup_channel,
161
162
            error_handler = self.error)