summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-16 17:55:38 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-16 17:55:38 +0000
commit0d6c7276b19fff2cdfb7b2f252fefa1b338f63af (patch)
treecf4d22d876e87aff28c28c5080e96695cdc33327 /src/gui.py
parent6018d243fb09f891477caabd5ee2c9fdaed62faf (diff)
downloadpoezio-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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index 5f3b1323..b62be3d2 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -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