Author: gs Date: Wed May 14 13:53:14 2008 New Revision: 47521 URL: http://svn.opensuse.org/viewcvs/yast?rev=47521&view=rev Log: remove unneeded yuiMilestone() logging, restore env. variable Y2NCDBG Modified: trunk/ncurses/src/NCDialog.cc Modified: trunk/ncurses/src/NCDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCDialog.cc?rev=47521&r1=47520&r2=47521&view=diff ============================================================================== --- trunk/ncurses/src/NCDialog.cc (original) +++ trunk/ncurses/src/NCDialog.cc Wed May 14 13:53:14 2008 @@ -40,7 +40,7 @@ static bool hiddenMenu() { - return getenv( "Y2yuiDebug()" ) != NULL; + return getenv( "Y2NCDBG" ) != NULL; } @@ -56,7 +56,7 @@ , ncdopts ( DEFAULT ) , popedpos ( -1 ) { - yuiMilestone() << "NCDialog() derived from YDialog()" << endl; + yuiDebug() << "Constructor NCDialog(YDialogType t, YDialogColorMode c)" << endl; _init(); } @@ -72,7 +72,7 @@ , ncdopts ( boxed ? POPUP : POPUP|NOBOX ) , popedpos ( at ) { - yuiMilestone() << "NCDialog(type, at, boxed) derived from YDialog(opt)" << endl; + yuiDebug() << "Constructor NCDialog(YDialogType t, const wpos at, const bool boxed)" << endl; _init(); } @@ -195,11 +195,10 @@ void NCDialog::initDialog() { - yuiMilestone() << "initDialog()" << endl; if ( !pan ) { yuiDebug() << "setInitialSize() called!" << endl; - setInitialSize(); - } + setInitialSize(); + } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org