diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-16 17:55:38 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-16 17:55:38 +0000 |
commit | 0d6c7276b19fff2cdfb7b2f252fefa1b338f63af (patch) | |
tree | cf4d22d876e87aff28c28c5080e96695cdc33327 /src/gui.py | |
parent | 6018d243fb09f891477caabd5ee2c9fdaed62faf (diff) | |
download | poezio-0d6c7276b19fff2cdfb7b2f252fefa1b338f63af.tar.gz poezio-0d6c7276b19fff2cdfb7b2f252fefa1b338f63af.tar.bz2 poezio-0d6c7276b19fff2cdfb7b2f252fefa1b338f63af.tar.xz poezio-0d6c7276b19fff2cdfb7b2f252fefa1b338f63af.zip |
fixes a crash on shlex.
Diffstat (limited to 'src/gui.py')
-rw-r--r-- | src/gui.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,6 +38,7 @@ from config import config from tab import MucTab, InfoTab, PrivateTab, RosterInfoTab from user import User from room import Room +from roster import Roster from message import Message from text_buffer import TextBuffer from keyboard import read_char @@ -74,7 +75,7 @@ class Gui(object): self.init_curses(self.stdscr) self.xmpp = xmpp default_tab = InfoTab(self.stdscr, "Info") if self.xmpp.anon\ - else RosterInfoTab(self.stdscr, "Roster") + else RosterInfoTab(self.stdscr, self.xmpp.roster) self.tabs = [default_tab] # a unique buffer used to store global informations # that are displayed in almost all tabs, in an |