Show
Ignore:
Timestamp:
12/12/07 09:44:46 (12 months ago)
Author:
asterix
Message:

merge diff from trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/pep/src/adhoc_commands.py

    r8478 r9123  
    22##      adhoc_commands.py 
    33## 
    4 ## Copyright (C) 2006 Yann Le Boulanger <asterix@lagaule.org> 
     4## Copyright (C) 2006 Yann Leboulanger <asterix@lagaule.org> 
    55##                    Nikos Kouremenos <nkour@jabber.org> 
    66## 
    7 ## This program is free software; you can redistribute it and/or modify 
     7## This file is part of Gajim. 
     8## 
     9## Gajim is free software; you can redistribute it and/or modify 
    810## it under the terms of the GNU General Public License as published 
    9 ## by the Free Software Foundation; version 2 only. 
     11## by the Free Software Foundation; version 3 only. 
    1012## 
    11 ## This program is distributed in the hope that it will be useful, 
     13## Gajim is distributed in the hope that it will be useful, 
    1214## but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1315## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1416## GNU General Public License for more details. 
     17## 
     18## You should have received a copy of the GNU General Public License 
     19## along with Gajim.  If not, see <http://www.gnu.org/licenses/>. 
    1520 
    1621# FIXME: think if we need caching command list. it may be wrong if there will 
     
    287292                self.sending_form_progressbar.hide() 
    288293 
    289                 if not self.sessionid: 
    290                         self.sessionid = command.getAttr('sessionid') 
     294                self.sessionid = command.getAttr('sessionid') 
    291295 
    292296                self.form_status = command.getAttr('status') 
     
    447451                        # commands => command selection stage 
    448452                        query = response.getTag('query') 
    449                         if query: 
     453                        if query and query.getAttr('node') == xmpp.NS_COMMANDS: 
    450454                                items = query.getTags('item') 
    451455                        else: