summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-15 00:13:23 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-15 00:13:23 +0000
commit685fa264da7fce883b69b98f05ad64768fec3c39 (patch)
treec7c315209ebf016fa15b973219488ccaeedd21fa
parent41a3f0da15005fa1851715b6f7bc4565a28c7bd8 (diff)
downloadpoezio-685fa264da7fce883b69b98f05ad64768fec3c39.tar.gz
poezio-685fa264da7fce883b69b98f05ad64768fec3c39.tar.bz2
poezio-685fa264da7fce883b69b98f05ad64768fec3c39.tar.xz
poezio-685fa264da7fce883b69b98f05ad64768fec3c39.zip
?
-rw-r--r--Makefile2
-rw-r--r--README3
-rw-r--r--src/gui.py5
3 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 77af5b5d..a707dbdc 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
INSTALL=install
-all: Makefile
+all: src/xmpp
cd src/xmpppy-0.5.0rc1 && pwd && python setup.py build && cp -r xmpp ..
clean: Makefile
diff --git a/README b/README
index a9aeb8a5..90921c16 100644
--- a/README
+++ b/README
@@ -70,8 +70,9 @@ the Creative Commons BY license (http://creativecommons.org/licenses/by/2.0/)
= People =
Erwan Briand - Handler and MultiUserChat classes
Gaëtan Ribémont (http://www.bonbref.com) - Logo design
+ Ovart - Testing
= Project =
- Gajim - send_vcard method
+ Gajim - send_vcard method and common.py
======================
The code
diff --git a/src/gui.py b/src/gui.py
index f3dcee56..452bd92c 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -345,7 +345,7 @@ class Gui(object):
def room_message(self, stanza):
if len(sys.argv) > 1:
- self.information(str(stanza))
+ self.information(str(stanza).encode('utf-8'))
if stanza.getType() != 'groupchat':
return # ignore all messages not comming from a MUC
room_from = stanza.getFrom().getStripped()
@@ -375,7 +375,7 @@ class Gui(object):
else:
color = room.add_message(nick_from, body)
self.window.text_win.add_line(room, (datetime.now(), nick_from.encode('utf-8'), body.encode('utf-8'), color))
- if room == self.current_room():
+ if room.name == self.current_room().name:
self.window.text_win.refresh(room.name)
self.window.input.refresh()
else:
@@ -401,6 +401,7 @@ class Gui(object):
self.window.text_win.refresh(room.name)
self.window.user_win.refresh(room.users)
self.window.text_win.refresh()
+ self.window.input.refresh()
curses.doupdate()
def execute(self):