summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-31 19:01:18 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-31 19:01:18 +0000
commitdc342fa28d0c5752a0f7ec65c52e80cbc2ec6c90 (patch)
tree3171b3d4fe8a31a33a4b7b56b60ca986ec304cc5
parent18f161e4a687353f1c888d25fb1b8c3de8ee284d (diff)
downloadpoezio-dc342fa28d0c5752a0f7ec65c52e80cbc2ec6c90.tar.gz
poezio-dc342fa28d0c5752a0f7ec65c52e80cbc2ec6c90.tar.bz2
poezio-dc342fa28d0c5752a0f7ec65c52e80cbc2ec6c90.tar.xz
poezio-dc342fa28d0c5752a0f7ec65c52e80cbc2ec6c90.zip
on vire les trads jusqu'à ce que je corrige ces trucs chiants
-rw-r--r--README31
-rw-r--r--src/client.py1
-rw-r--r--src/gui.py8
3 files changed, 35 insertions, 5 deletions
diff --git a/README b/README
index f75bfc03..f31724af 100644
--- a/README
+++ b/README
@@ -11,6 +11,36 @@ Poezio's commands are design to be (if possible) like well known IRC
clients (weechat, irssi, mirc).
=======================
+ Install
+=======================
+You just need python
+the xmpppy lib is provided with poezio, as many
+distributions still use xmpppy 0.4.1 which doesn't
+work with anonymous connexion.
+This will be eventually fixed latter on.
+
+Before launching poezio you need to type
+make
+in order to build the xmpppy library.
+
+you can then launch poezio with
+sh launch.sh
+
+or you can install it with (as root or with sudo)
+make install
+(`make uninstall` works, don't worry ;))
+you can then launch poezio
+
+You can edit the config file (~/.config/poezio/poezio.cfg by default)
+or data/default_config.cfg (if you want to edit the config before the
+first launch)
+
+See the online documentation for more information:
+http://codingteam.net/project/poezio/doc
+
+Please DO report any bug that you encounter.
+
+=======================
Authors
=======================
Florent Le Coz (louiz') <louizatakk@fedoraproject.org> (main developper)
@@ -36,7 +66,6 @@ Please read the COPYING file for details
=======================
= People =
xbright (Handler and MultiUserChat classes)
- chickenzilla (Config class)
======================
The code
diff --git a/src/client.py b/src/client.py
index a224bc9c..84af348e 100644
--- a/src/client.py
+++ b/src/client.py
@@ -29,6 +29,7 @@ if len(sys.argv) == 1: # not debug, so hide any error message and disab
import signal
signal.signal(signal.SIGINT, signal.SIG_IGN)
sys.stderr = open('/dev/null', 'w')
+ sys.stdout = open('/dev/null', 'w')
class Client(object):
"""
diff --git a/src/gui.py b/src/gui.py
index 2b2845df..b5b0a5a7 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -84,7 +84,7 @@ class Room(object):
return info.encode('utf-8')
except: # I JUST FUCKING HATE THIS .encode.decode.shit !!!
self.lines.append((datetime.now(), info))
- return info.encode('utf-8')
+ return info
def get_user_by_name(self, nick):
for user in self.users:
@@ -143,7 +143,7 @@ class Room(object):
return self.add_info(_('%s has left the room') % (nick))
# status change
user.update(affiliation, show, status, role)
- return self.add_info(_('%(nick)s changed his/her status : %(a)s, %(b)s, %(c)s, %(d)s') % {'nick':nick, 'b':affiliation, 'b':role, 'c':show, 'd':status})
+ return self.add_info(_('%(nick)s changed his/her status : %(a)s, %(b)s, %(c)s, %(d)s') % {'nick':nick, 'a':affiliation, 'b':role, 'c':show, 'd':status})
class Gui(object):
@@ -365,8 +365,8 @@ class Gui(object):
msg = self.commands[args[0]][1]
else:
msg = _('Unknown command: %s') % args[0]
- room.add_info(msg)
- self.window.text_win.add_line(room, (datetime.now(), msg))
+ msg = room.add_info(msg)
+ self.window.text_win.add_line(room, msg)
self.window.text_win.refresh(room.name)
self.window.input.refresh()