From: johnsonm Date: Tue, 28 Oct 1997 03:54:35 +0000 (+0000) Subject: Set height and width separately. X-Git-Tag: r0-20~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bedbbeb25c3255a8b637f2a7b1e1de4e519570ca;p=thirdparty%2Fnewt.git Set height and width separately. --- diff --git a/snack.py b/snack.py index 4274975..0491c1a 100644 --- a/snack.py +++ b/snack.py @@ -167,7 +167,7 @@ class SnackScreen: def __init__(self): _snack.init() - size = _snack.size() + (self.width, self.height) = _snack.size() self.pushHelpLine(None) def finish(self):