From: crutcher Date: Wed, 22 Aug 2001 20:17:50 +0000 (+0000) Subject: reordered the width attrib of the snack CheckboxTree.__init__ call to avoid breaking... X-Git-Tag: r0-50-31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d76411ae129d66b4fc25b5d6de1310520f3157d6;p=thirdparty%2Fnewt.git reordered the width attrib of the snack CheckboxTree.__init__ call to avoid breaking old code. --- diff --git a/newt.spec b/newt.spec index e3b7533..061eb06 100644 --- a/newt.spec +++ b/newt.spec @@ -1,6 +1,6 @@ Summary: A development library for text mode user interfaces. Name: newt -%define version 0.50.31 +%define version 0.50.32 Version: %{version} Release: 1 Copyright: LGPL @@ -105,6 +105,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Aug 22 2001 Crutcher Dunnavant 0.50.32-1 +- re-ordered the width key of CheckboxTree.__init__; #52319 + * Wed Aug 8 2001 Crutcher Dunnavant 0.50.31-1 - right anchor the internal Listbox of CListboxes, so that empty - scrollable CListboxes do not look like crape. diff --git a/snack.py b/snack.py index eda3303..e97c93f 100644 --- a/snack.py +++ b/snack.py @@ -477,7 +477,7 @@ class CheckboxTree(Widget): curr = self.w.checkboxtreeGetCurrent() return self.key2item[curr] - def __init__(self, height, width = None, scroll = 0, hide_checkbox = 0, unselectable = 0): + def __init__(self, height, scroll = 0, width = None, hide_checkbox = 0, unselectable = 0): self.w = _snack.checkboxtree(height, scroll, hide_checkbox, unselectable) self.key2item = {} self.item2key = {}