Changeset 9090 for branches/gajim_0.11.3-bugfixes/src/groupchat_control.py
- Timestamp:
- 12/03/07 20:47:00 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11.3-bugfixes/src/groupchat_control.py
r9018 r9090 1391 1391 return 1392 1392 gajim.connections[self.account].join_gc(nick, self.room_jid, None) 1393 self.nick = nick 1393 if gajim.gc_connected[self.account][self.room_jid]: 1394 # We are changing nick, we will change self.nick when we receive 1395 # presence that inform that it works 1396 self.new_nick = nick 1397 else: 1398 # We are connecting, we will not get a changed nick presence so 1399 # change it NOW. We don't already have a nick so it's harmless 1400 self.nick = nick 1401 def on_cancel(): 1402 self.new_nick = '' 1394 1403 1395 1404 instance = dialogs.InputDialog(title, prompt, proposed_nick, 1396 is_modal = False, ok_handler = on_ok )1405 is_modal = False, ok_handler = on_ok, cancel_handler = on_cancel) 1397 1406 1398 1407 def shutdown(self, status='offline'):
