commit libyui-ncurses for openSUSE:Factory
Hello community, here is the log from the commit of package libyui-ncurses for openSUSE:Factory checked in at 2013-03-26 16:13:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-ncurses (Old) and /work/SRC/openSUSE:Factory/.libyui-ncurses.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libyui-ncurses", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-ncurses/libyui-ncurses.changes 2013-02-21 15:04:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libyui-ncurses.new/libyui-ncurses.changes 2013-03-26 16:13:17.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Mar 26 14:39:09 CET 2013 - gs@suse.de + +- NCCheckBoxFrame: handle option `invertAutoEnable correctly, + (bug-fix for authentication problem in iscsi-client bnc #805407) +- V 2.43.4 + +------------------------------------------------------------------- Old: ---- libyui-ncurses-2.43.3.tar.bz2 New: ---- libyui-ncurses-2.43.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-ncurses-doc.spec ++++++ --- /var/tmp/diff_new_pack.o7rjaM/_old 2013-03-26 16:13:18.000000000 +0100 +++ /var/tmp/diff_new_pack.o7rjaM/_new 2013-03-26 16:13:18.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package libyui-ncurses (Version 2.43.3) +# spec file for package libyui-ncurses (Version 2.43.4) # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -16,7 +16,7 @@ # Name: libyui-ncurses-doc -Version: 2.43.3 +Version: 2.43.4 Release: 0 License: LGPL-2.1 or LGPL-3.0 Source: libyui-ncurses-%{version}.tar.bz2 ++++++ libyui-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.o7rjaM/_old 2013-03-26 16:13:18.000000000 +0100 +++ /var/tmp/diff_new_pack.o7rjaM/_new 2013-03-26 16:13:18.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package libyui-ncurses (Version 2.43.3) +# spec file for package libyui-ncurses (Version 2.43.4) # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ # norootforbuild Name: libyui-ncurses -Version: 2.43.3 +Version: 2.43.4 Release: 0 License: LGPL-2.1 or LGPL-3.0 Source: libyui-ncurses-%{version}.tar.bz2 ++++++ libyui-ncurses-2.43.3.tar.bz2 -> libyui-ncurses-2.43.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.3/ChangeLog new/libyui-ncurses-2.43.4/ChangeLog --- old/libyui-ncurses-2.43.3/ChangeLog 2013-02-21 09:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.4/ChangeLog 2013-03-26 14:43:20.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Mar 26 14:39:09 CET 2013 - gs@suse.de + +- NCCheckBoxFrame: handle option `invertAutoEnable correctly, + (bug-fix for authentication problem in iscsi-client bnc #805407) +- V 2.43.4 + +------------------------------------------------------------------- Thu Feb 21 09:32:10 CET 2013 - gs@suse.de - NCRichText: bug-fix for text in <pre> tags, patch description is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.3/VERSION.cmake new/libyui-ncurses-2.43.4/VERSION.cmake --- old/libyui-ncurses-2.43.3/VERSION.cmake 2013-02-21 09:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.4/VERSION.cmake 2013-03-26 14:43:20.000000000 +0100 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "2" ) SET( VERSION_MINOR "43" ) -SET( VERSION_PATCH "3" ) +SET( VERSION_PATCH "4" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is need for the libyui core, ONLY. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.43.3/src/NCCheckBoxFrame.cc new/libyui-ncurses-2.43.4/src/NCCheckBoxFrame.cc --- old/libyui-ncurses-2.43.3/src/NCCheckBoxFrame.cc 2013-02-21 09:43:20.000000000 +0100 +++ new/libyui-ncurses-2.43.4/src/NCCheckBoxFrame.cc 2013-03-26 14:43:20.000000000 +0100 @@ -41,12 +41,9 @@ setLabel( YCheckBoxFrame::label() ); hotlabel = &label; - if ( invertAutoEnable() ) - setValue( !checked ); - else - setValue( checked ); + setValue( checked ); - // setEnabled() is called in wRedraw() + // setEnabled( getValue() ); is called in wRedraw() } @@ -112,9 +109,15 @@ { enabled = frame->getValue(); + // invert value if required + if ( frame->invertAutoEnable() ) + enabled = !enabled; + + // despite of frame->getValue(), don't enable child widgets if state + // of frame is NC::WSdisabeled if ( frame->GetState() == NC::WSdisabeled ) enabled = false; - + break; } } @@ -125,7 +128,7 @@ { YWidget::setEnabled( do_bv ); bool do_it = do_bv; - + for ( tnode<NCWidget*> * c = this->Next(); c && c->IsDescendantOf( this ); c = c->Next() ) @@ -180,20 +183,10 @@ win->bkgdset( style.plain ); win->printw( 0, 1, "[ ] " ); - if ( !invertAutoEnable() ) - { - if ( getValue() ) - win->printw( 0, 2, "%c", 'x' ); - else - win->printw( 0, 2, "%c", ' ' ); - } + if ( getValue() ) + win->printw( 0, 2, "%c", 'x' ); else - { - if ( getValue() ) - win->printw( 0, 2, "%c", ' ' ); - else - win->printw( 0, 2, "%c", 'x' ); - } + win->printw( 0, 2, "%c", ' ' ); if ( autoEnable() ) setEnabled( getValue() ); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de