summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-20 21:21:26 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-20 21:21:26 +0200
commit6debaa6c3f90275e1ebb641360da6fe367126ec5 (patch)
treea1008e0afdc290fe60a287a8da4bac089a0078f7 /src/windows.py
parent324fcf817c3931ab0dc3c421b34e4d5ecfcfb3c6 (diff)
downloadpoezio-6debaa6c3f90275e1ebb641360da6fe367126ec5.tar.gz
poezio-6debaa6c3f90275e1ebb641360da6fe367126ec5.tar.bz2
poezio-6debaa6c3f90275e1ebb641360da6fe367126ec5.tar.xz
poezio-6debaa6c3f90275e1ebb641360da6fe367126ec5.zip
Do not limit the size of the windows, fixes #2246
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')