Mailinglist Archive: yast-commit (815 mails)
| < Previous | Next > |
[yast-commit] r40058 - in /branches/tmp/sh/mod-ui/ncurses/src/pkg: NCPkgPopupDescr.cc NCPkgPopupSelection.cc NCPkgPopupTable.cc
- From: gs@xxxxxxxxxxxxxxxx
- Date: Tue, 07 Aug 2007 13:50:13 -0000
- Message-id: <20070807135013.BA986CDF50@xxxxxxxxxxxxxxxx>
Author: gs
Date: Tue Aug 7 15:50:13 2007
New Revision: 40058
URL: http://svn.opensuse.org/viewcvs/yast?rev=40058&view=rev
Log:
remove unused variables
Modified:
branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc
branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc
branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc
Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc?rev=40058&r1=40057&r2=40058&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc Tue Aug 7 15:50:13 2007
@@ -111,7 +111,7 @@
opt.isHStretchable.setValue( false );
//NCLabel * helplb = new NCLabel( split, opt, YCPString(NCPkgNames::DepsHelpLine()) );
// a help line for the dependency popup
- NCLabel * helplb = new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
+ new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
//split->addChild( new NCSpacing( split, opt, 0.6, false, true ) );
new NCSpacing( split, YD_VERT, false, 0.6 ); // stretchable = false
Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc?rev=40058&r1=40057&r2=40058&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc Tue Aug 7 15:50:13 2007
@@ -104,7 +104,7 @@
opt.notifyMode.setValue( false );
//NCLabel * head = new NCLabel( split, opt, label );
- NCLabel * head = new NCLabel( split, label, true, false ); // isHeading = true
+ new NCLabel( split, label, true, false ); // isHeading = true
// add the selection list
sel = new NCPkgTable( split, opt );
sel->setPackager( packager );
@@ -134,7 +134,7 @@
//NCLabel * help = new NCLabel( split, opt, YCPString(NCPkgNames::DepsHelpLine()) );
// a help line for the dependency popup
- NCLabel * help = new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
+ new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
//split->addChild( new NCSpacing( split, opt, 0.4, false, true ) );
new NCSpacing( split, YD_VERT, false, 0.4 );
Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc?rev=40058&r1=40057&r2=40058&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc Tue Aug 7 15:50:13 2007
@@ -91,18 +91,18 @@
new NCSpacing( split, YD_VERT, false, 0.6 ); // stretchable = false
// the headline of the popup containing a list with packages with status changes
- NCLabel * head = new NCLabel( split, _( "Automatic Changes" ), true, false ); // isHeading = true
+ new NCLabel( split, _( "Automatic Changes" ), true, false ); // isHeading = true
//split->addChild( new NCSpacing( split, opt, 0.6, false, true ) );
new NCSpacing( split, YD_VERT, false, 0.6 );
//NCLabel * lb1 = new NCLabel( split, opt, YCPString(NCPkgNames::AutoChangeText1()) );
// text part1 of popup with automatic changes (it's a label; text continous)
- NCLabel * lb1 = new NCLabel( split, _( "In addition to your manual selections, the following" ), false, false );
+ new NCLabel( split, _( "In addition to your manual selections, the following" ), false, false );
//NCLabel * lb2 = new NCLabel( split, opt, YCPString(NCPkgNames::AutoChangeText2()) );
// text part2 of popup with automatic changes
- NCLabel * lb2 = new NCLabel( split, _( "packages have been changed to resolve dependencies:" ), false, false );
+ new NCLabel( split, _( "packages have been changed to resolve dependencies:" ), false, false );
// add the package table (use default type T_Packages)
pkgTable = new NCPkgTable( split, opt );
@@ -245,7 +245,7 @@
///////////////////////////////////////////////////////////////////
//
//
-// METHOD NAME : NCPkgPopupTable::niceSize
+// METHOD NAME : NCPkgPopupTable::niceSizex
// METHOD TYPE : void
//
// DESCRIPTION :
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Tue Aug 7 15:50:13 2007
New Revision: 40058
URL: http://svn.opensuse.org/viewcvs/yast?rev=40058&view=rev
Log:
remove unused variables
Modified:
branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc
branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc
branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc
Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc?rev=40058&r1=40057&r2=40058&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDescr.cc Tue Aug 7 15:50:13 2007
@@ -111,7 +111,7 @@
opt.isHStretchable.setValue( false );
//NCLabel * helplb = new NCLabel( split, opt, YCPString(NCPkgNames::DepsHelpLine()) );
// a help line for the dependency popup
- NCLabel * helplb = new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
+ new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
//split->addChild( new NCSpacing( split, opt, 0.6, false, true ) );
new NCSpacing( split, YD_VERT, false, 0.6 ); // stretchable = false
Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc?rev=40058&r1=40057&r2=40058&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupSelection.cc Tue Aug 7 15:50:13 2007
@@ -104,7 +104,7 @@
opt.notifyMode.setValue( false );
//NCLabel * head = new NCLabel( split, opt, label );
- NCLabel * head = new NCLabel( split, label, true, false ); // isHeading = true
+ new NCLabel( split, label, true, false ); // isHeading = true
// add the selection list
sel = new NCPkgTable( split, opt );
sel->setPackager( packager );
@@ -134,7 +134,7 @@
//NCLabel * help = new NCLabel( split, opt, YCPString(NCPkgNames::DepsHelpLine()) );
// a help line for the dependency popup
- NCLabel * help = new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
+ new NCLabel( split, _( " [+] Select [-] Delete [>] Update " ), false, false );
//split->addChild( new NCSpacing( split, opt, 0.4, false, true ) );
new NCSpacing( split, YD_VERT, false, 0.4 );
Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc?rev=40058&r1=40057&r2=40058&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupTable.cc Tue Aug 7 15:50:13 2007
@@ -91,18 +91,18 @@
new NCSpacing( split, YD_VERT, false, 0.6 ); // stretchable = false
// the headline of the popup containing a list with packages with status changes
- NCLabel * head = new NCLabel( split, _( "Automatic Changes" ), true, false ); // isHeading = true
+ new NCLabel( split, _( "Automatic Changes" ), true, false ); // isHeading = true
//split->addChild( new NCSpacing( split, opt, 0.6, false, true ) );
new NCSpacing( split, YD_VERT, false, 0.6 );
//NCLabel * lb1 = new NCLabel( split, opt, YCPString(NCPkgNames::AutoChangeText1()) );
// text part1 of popup with automatic changes (it's a label; text continous)
- NCLabel * lb1 = new NCLabel( split, _( "In addition to your manual selections, the following" ), false, false );
+ new NCLabel( split, _( "In addition to your manual selections, the following" ), false, false );
//NCLabel * lb2 = new NCLabel( split, opt, YCPString(NCPkgNames::AutoChangeText2()) );
// text part2 of popup with automatic changes
- NCLabel * lb2 = new NCLabel( split, _( "packages have been changed to resolve dependencies:" ), false, false );
+ new NCLabel( split, _( "packages have been changed to resolve dependencies:" ), false, false );
// add the package table (use default type T_Packages)
pkgTable = new NCPkgTable( split, opt );
@@ -245,7 +245,7 @@
///////////////////////////////////////////////////////////////////
//
//
-// METHOD NAME : NCPkgPopupTable::niceSize
+// METHOD NAME : NCPkgPopupTable::niceSizex
// METHOD TYPE : void
//
// DESCRIPTION :
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |