Author: gs Date: Thu Sep 27 15:55:55 2007 New Revision: 41145 URL: http://svn.opensuse.org/viewcvs/yast?rev=41145&view=rev Log: remove 'mayedit' - is not supported (was never supported) Modified: branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui Modified: branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc?rev=41145&r1=41144&r2=41145&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc Thu Sep 27 15:55:55 2007 @@ -44,7 +44,6 @@ unsigned maxFld ) : YInputField( parent, nlabel, passwordMode ) , NCWidget( parent ) - , mayedit( true ) , passwd( passwordMode ) , lwin( 0 ) , twin( 0 ) @@ -62,16 +61,8 @@ ( !maxFldLength || maxFldLength > maxInputLength ) ) { maxFldLength = maxInputLength; } - // FIXME -#if 0 - if ( opt.isEditable.defined() ) - mayedit = opt.isEditable.value(); -#endif setLabel( nlabel ); hotlabel = &label; - // not longer on params - //setText( ntext ); - } /////////////////////////////////////////////////////////////////// @@ -423,15 +414,10 @@ // NCursesEvent NCInputField::wHandleInput( wint_t key ) { - NCursesEvent ret; + NCursesEvent ret = NCursesEvent::none; bool beep = false; bool update = true; - if ( !mayedit ) - { - return NCursesEvent::none; - } - switch ( key ) { case KEY_BACKSPACE: Modified: branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h?rev=41145&r1=41144&r2=41145&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h Thu Sep 27 15:55:55 2007 @@ -48,7 +48,6 @@ private: - bool mayedit; bool passwd; NClabel label; wstring buffer; Modified: branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui?rev=41145&r1=41144&r2=41145&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui (original) +++ branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui Thu Sep 27 15:55:55 2007 @@ -85,7 +85,7 @@ NCDialog -------- -TODO: Check whether NCPopupInfo is created/deleted correctly (YDialog::deleteTopmostDialog() missing or not?) +don't call 'delete' for helpPopup use deleteTopmostDialog() instead NCPopupInfo ----------- -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org