Primitivus: misc fixes + menubar first draft

- Menu bar: first draft of class
- Password widget fixed
- change some str to unicode, notably for JID
This commit is contained in:
Goffi 2010-07-13 02:24:59 +08:00
commit 9fbbd52805

View file

@ -21,11 +21,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class JID(str):
class JID(unicode):
"""This class help manage JID (Node@Domaine/Resource)"""
def __new__(cls, jid):
self = str.__new__(cls, jid)
self = unicode.__new__(cls, jid)
self.__parse()
return self