]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
0.50.27
authorkatzj <katzj>
Mon, 25 Jun 2001 15:37:58 +0000 (15:37 +0000)
committerkatzj <katzj>
Mon, 25 Jun 2001 15:37:58 +0000 (15:37 +0000)
fix bug in replace method of clistbox
CListBox -> CListbox for API consistency

configure.in
newt.spec
snack.py

index cd710376fab09dea951026931dad34f5d2240ccb..5352fe58e1b749120a9c63b9267c5eca1d9cb0f4 100644 (file)
@@ -5,7 +5,7 @@ AC_CONFIG_HEADER(config.h)
 
 VERSION=$(awk '/^%define version/ {print $3}' newt.spec)
 
-VERSION=0.50.26
+VERSION=0.50.27
 SONAME=0.50
 AC_SUBST(VERSION)
 AC_SUBST(SONAME)
index 55c85f9642f8b3e054689005f035ee3c593bdcd2..185ad8f186ae2c37c924fd08b868eb13e093f505 100644 (file)
--- 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.26
+%define version 0.50.27
 Version: %{version}
 Release: 1
 Copyright: LGPL
@@ -105,6 +105,10 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Mon Jun 25 2001 Jeremy Katz <katzj@redhat.com>
+- ClistBox -> Clistbox for API consistency
+- fixup replace() method of Clistbox
+
 * Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
 - few bugfixes to the CListBox
 
index aee889041ae8298fe502f119ee7f9ff4947b9ca6..a10b2ffb3d1662afdff5d0e2e11dd389eaaefc7f 100644 (file)
--- a/snack.py
+++ b/snack.py
@@ -589,7 +589,7 @@ def EntryWindow(screen, title, text, prompts, allowCancel = 1, width = 40,
 
     return (bb.buttonPressed(result), tuple(entryValues))
 
-class CListBox(Grid):
+class CListbox(Grid):
        def __init__(self, height, cols, col_widths, scroll = 0, returnExit = 0,
                        width = 0, col_pad = 1, col_text_align = None,
                        col_labels = None, col_label_align = None):
@@ -668,7 +668,7 @@ class CListBox(Grid):
                if col_text_align == None:
                        col_text_align = self.col_text_align
                text = self.colFormText(col_text, col_text_align)
-               self.listbox.replace(text, item, before)
+               self.listbox.replace(text, item)
 
        def current(self):
                return self.listbox.current()