Author: gs Date: Wed Jun 11 12:40:59 2008 New Revision: 48220 URL: http://svn.opensuse.org/viewcvs/yast?rev=48220&view=rev Log: remove superfluous milestone logging Modified: trunk/ncurses/src/NCPopupMenu.cc Modified: trunk/ncurses/src/NCPopupMenu.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCPopupMenu.cc?rev=48... ============================================================================== --- trunk/ncurses/src/NCPopupMenu.cc (original) +++ trunk/ncurses/src/NCPopupMenu.cc Wed Jun 11 12:40:59 2008 @@ -41,7 +41,7 @@ row[1] = item->hasChildren() ? "..." : ""; YTableItem *tableItem = new YTableItem( row[0], row[1] ); - yuiMilestone() << "Add to map: TableItem: " << tableItem << " Menu item: " << item << endl; + yuiDebug() << "Add to map: TableItem: " << tableItem << " Menu item: " << item << endl; addItem( tableItem ); itemsMap[tableItem] = item; @@ -67,14 +67,12 @@ { case KEY_RIGHT: { - yuiMilestone() << "CurrentItem: " << getCurrentItem() << endl; + yuiDebug() << "CurrentItem: " << getCurrentItem() << endl; YTableItem * tableItem = dynamic_cast<YTableItem *>( getCurrentItemPointer() ); if ( tableItem ) { - yuiMilestone() << "TableItem: " << tableItem << endl; YMenuItem * item = itemsMap[ tableItem ]; - yuiMilestone() << "MenuItem: " << item << endl; if ( item && item->hasChildren() ) ret = NCursesEvent::button; @@ -104,12 +102,9 @@ bool again = false; int selection = ( postevent == NCursesEvent::button ) ? getCurrentItem() : -1; - yuiMilestone() << "Index: " << selection << endl; + yuiDebug() << "Index: " << selection << endl; YTableItem * tableItem = dynamic_cast<YTableItem *>( getCurrentItemPointer() ); - if ( tableItem ) - yuiMilestone() << "Table item: " << tableItem->label() << endl; - YMenuItem * item = itemsMap[ tableItem ]; if ( !item ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org