summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-20 21:22:24 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-20 21:22:24 +0200
commitb9348519bbedb077a5d32901c7f1adf3f7bc1881 (patch)
tree505f1e82b888941d6b0ddf26531d14829ce1817e /src/windows.py
parent6ec1ca42cc8bb55adaa3bf5df40cdabb5f2dd5f5 (diff)
parent6debaa6c3f90275e1ebb641360da6fe367126ec5 (diff)
downloadpoezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.tar.gz
poezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.tar.bz2
poezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.tar.xz
poezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.zip
merge
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/windows.py b/src/windows.py
index ef11107a..3e607541 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -30,9 +30,6 @@ from contact import Contact, Resource
from roster import RosterGroup, roster
from poopt import cut_text
-# from message import Line
-from tabs import MIN_WIDTH, MIN_HEIGHT
-
from sleekxmpp.xmlstream.stanzabase import JID
import core
@@ -69,8 +66,8 @@ class Win(object):
if not self._win:
self._win = curses.newwin(height, width, y, x)
else:
- self._win.resize(height, width)
try:
+ self._win.resize(height, width)
self._win.mvwin(y, x)
except:
log.debug('DEBUG: mvwin returned ERR. Please investigate')