pythonverse

Python-based client for OpenVerse with extra features
git clone https://code.literati.org/pythonverse.git
Log | Files | Refs | README | LICENSE

commit 67c3d79c572558fd4dce1cf93133235ff2093c1b
parent d534b84b168ffe933abc9077fbcd22d13fa2e2b8
Author: seanl <seanl>
Date:   Fri, 29 Mar 2002 01:57:18 +0000

Added a couple of decodes I forgot.

Diffstat:
MOpenVerse.py | 2+-
Mpvui_wx.py | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/OpenVerse.py b/OpenVerse.py @@ -348,7 +348,7 @@ class ServerConnection(transutil.Connection): def cmd_EFFECT(self, line): cmd, nick, action = line.split() - self.client.effect(nick, action) + self.client.effect(decode(nick), action) def cmd_PRIVMSG(self, line): cmd, nick, text = line.split(' ', 2) diff --git a/pvui_wx.py b/pvui_wx.py @@ -524,7 +524,7 @@ class Balloon(Sprite): _scheduler.ScheduleRel(10, self.OnTimer, ()) -class ClientCanvas(wxScrollingWindow): +class ClientCanvas(wxPanel): def __init__(self, parent): wxPanel.__init__(self, parent, -1) self.parent = parent @@ -588,7 +588,7 @@ class ClientCanvas(wxScrollingWindow): self.SetSizeHints(self.width, self.height, self.width, self.height) self.bitmap = wxEmptyBitmap(self.width, self.height) self.dc.SelectObject(self.bitmap) - self.SetScrollbars(20, 20, self.width/20, self.height/20) + #self.SetScrollbars(20, 20, self.width/20, self.height/20) self.DoDrawing(wxClientDC(self), 0, 0, self.width, self.height) def OnLeftButtonEvent(self, event):