Show
Ignore:
Timestamp:
02/15/07 19:05:38 (22 months ago)
Author:
asterix
Message:

mrege diff from trunk

Location:
branches/gajim_0.11/src/common
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11/src/common/connection.py

    r7940 r7984  
    638638                        msg = '' 
    639639                keyID = gajim.config.get_per('accounts', self.name, 'keyid') 
    640                 if keyID and USE_GPG and not msg: 
    641                         lowered_uf_status_msg = helpers.get_uf_show(show).lower() 
    642                         # do not show I'm invisible! 
    643                         if lowered_uf_status_msg == _('invisible').lower(): 
    644                                 lowered_uf_status_msg = _('offline').lower() 
    645                         msg = _("I'm %s") % lowered_uf_status_msg 
    646640                signed = '' 
    647641                if not auto and not show == 'offline': 
     
    10581052                self.connection.send(p) 
    10591053 
    1060                 #last date/time in history to avoid duplicate 
     1054                # last date/time in history to avoid duplicate 
    10611055                if not self.last_history_line.has_key(room_jid):  
    10621056                        # Not in memory, get it from DB 
     
    10861080                        to = room_jid) 
    10871081                self.connection.send(iq) 
    1088  
    1089         def change_gc_nick(self, room_jid, nick): 
    1090                 if not self.connection: 
    1091                         return 
    1092                 p = common.xmpp.Presence(to = '%s/%s' % (room_jid, nick)) 
    1093                 p = self.add_sha(p) 
    1094                 self.connection.send(p) 
    10951082 
    10961083        def send_gc_status(self, nick, jid, show, status): 
  • branches/gajim_0.11/src/common/dataforms.py

    r7829 r7984  
    367367                def fget(self): 
    368368                        value = u'' 
    369                         for valuenode in self.getTags('value'): 
     369                        for valuenode in self.getTags('instructions'): 
    370370                                value += '\n' + valuenode.getData() 
    371371                        return value[1:] 
     
    374374                        if value == '': return 
    375375                        for line in value.split('\n'): 
    376                                 self.addChild('value').setData(line) 
    377                 def fdel(self): 
    378                         for value in self.getTags('value'): 
     376                                self.addChild('instructions').setData(line) 
     377                def fdel(self): 
     378                        for value in self.getTags('instructions'): 
    379379                                self.delChild(value) 
    380380                return locals()