Author: sh-sh-sh
Date: Fri Feb 1 16:31:12 2008
New Revision: 44109
URL: http://svn.opensuse.org/viewcvs/yast?rev=44109&view=rev
Log:
use widget pointers, not artificially introduced IDs
Modified:
trunk/ncurses/src/pkg/NCPkgPopupDeps.cc
Modified: trunk/ncurses/src/pkg/NCPkgPopupDeps.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/pkg/NCPkgPopupDeps.cc?rev=44109&r1=44108&r2=44109&view=diff
==============================================================================
--- trunk/ncurses/src/pkg/NCPkgPopupDeps.cc (original)
+++ trunk/ncurses/src/pkg/NCPkgPopupDeps.cc Fri Feb 1 16:31:12 2008
@@ -178,9 +178,6 @@
// add the cancel button
cancelButton = new NCPushButton( hSplit, NCPkgNames::CancelLabel() );
cancelButton->setFunctionKey( 9 );
- // cancelButton->setId( NCPkgNames::Cancel () );
- YStringWidgetID * cancelID = new YStringWidgetID("cancel");
- cancelButton->setId( cancelID );
new NCSpacing( vSplit, YD_VERT, false, 1 ); // stretchable = false
}
@@ -401,17 +398,12 @@
if ( ! postevent.widget )
return false;
- // YCPValue currentId = dynamic_cast