Changeset 86
- Timestamp:
- 07/16/07 22:51:53 (3 years ago)
- Location:
- gajim/branches/chat2muc/src
- Files:
-
- 4 modified
-
common/connection.py (modified) (1 diff)
-
common/connection_handlers.py (modified) (1 diff)
-
dialogs.py (modified) (2 diffs)
-
gajim.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gajim/branches/chat2muc/src/common/connection.py
r83 r86 1393 1393 c = message.addChild(name = 'x', namespace = common.xmpp.NS_MUC_USER) 1394 1394 c = c.addChild(name = 'invite', attrs={'to' : to}) 1395 if continue_tag: 1396 c.addChild(name = 'continue') 1395 1397 if reason != '': 1396 1398 c.setTagData('reason', reason) 1397 if continue_tag:1398 c.addChild(name = 'continue')1399 1399 self.connection.send(message) 1400 1400 -
gajim/branches/chat2muc/src/common/connection_handlers.py
r85 r86 1529 1529 password = invite.getTagData('password') 1530 1530 is_continued = False 1531 if invite.getTag(' continue'):1531 if invite.getTag('invite').getTag('continue'): 1532 1532 is_continued = True 1533 1533 print '1' -
gajim/branches/chat2muc/src/dialogs.py
r85 r86 3300 3300 3301 3301 # TODO: make a list based on service discovery 3302 self.servers.append(['chat.jabberfr.org']) 3302 3303 self.servers.append(['conference.gajim.org']) 3303 3304 … … 3348 3349 3349 3350 def _on_keypress_event(self, widget, event): 3350 if event.state and gtk.gdk.MOD1_MASKand (event.keyval == gtk.keysyms.c \3351 if (event.state & gtk.gdk.MOD1_MASK) and (event.keyval == gtk.keysyms.c \ 3351 3352 or event.keyval == gtk.keysyms.C): 3352 3353 self.toggle_server_selection_visible() -
gajim/branches/chat2muc/src/gajim.py
r85 r86 1210 1210 room_jid = array[0] 1211 1211 if helpers.allow_popup_window(account) or not self.systray_enabled: 1212 print '11' 1212 1213 dialogs.InvitationReceivedDialog(account, room_jid, jid, array[3], 1213 array[2], is_continued=array[ 3])1214 array[2], is_continued=array[4]) 1214 1215 return 1215 1216 1216 1217 self.add_event(account, jid, 'gc-invitation', (room_jid, array[2], 1217 array[3] ))1218 array[3], array[4])) 1218 1219 1219 1220 if helpers.allow_showing_notification(account): … … 1224 1225 notify.popup(event_type, jid, account, 'gc-invitation', path, 1225 1226 event_type, room_jid) 1227 print '12' 1226 1228 1227 1229 def handle_event_bad_passphrase(self, account, array): … … 2206 2208 data = event.parameters 2207 2209 dialogs.InvitationReceivedDialog(account, data[0], jid, data[2], 2208 data[1] )2210 data[1], data[3]) 2209 2211 gajim.events.remove_events(account, jid, event) 2210 2212 self.roster.draw_contact(jid, account)
