Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41634 - in /branches/tmp/sh/mod-ui/ncurses/src: NCAskForDirectory.cc NCAskForFile.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Tue, 30 Oct 2007 10:26:48 -0000
  • Message-id: <20071030102648.E77FD374C0@xxxxxxxxxxxxxxxx>
Author: gs
Date: Tue Oct 30 11:26:48 2007
New Revision: 41634

URL: http://svn.opensuse.org/viewcvs/yast?rev=41634&view=rev
Log:
remove addChild for table widget

Modified:
branches/tmp/sh/mod-ui/ncurses/src/NCAskForDirectory.cc
branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCAskForDirectory.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCAskForDirectory.cc?rev=41634&r1=41633&r2=41634&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCAskForDirectory.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCAskForDirectory.cc Tue Oct 30 11:26:48
2007
@@ -138,11 +138,6 @@
// add the list of directories
dirList = new NCDirectoryTable( split, NCFileTable::T_Overview, iniDir );

- // FIXME - remove this - will be obsolete when NCTable is migrated
- dirList->setParent( split );
- split->addChild( dirList );
- // remove this
-
YStringWidgetID * dirListID = new YStringWidgetID( idDirList );
dirList->setId( dirListID );


Modified: branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc?rev=41634&r1=41633&r2=41634&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc Tue Oct 30 11:26:48 2007
@@ -186,10 +186,6 @@
opt.keyEvents.setValue( true );
dirList = new NCDirectoryTable( hSplit1, NCFileSelection::T_Overview,
YCPString(startDir) );

- // FIXME - remove this - will be obsolete when NCTable is migrated
- dirList->setParent( hSplit1 );
- hSplit1->addChild( dirList );
- // remove this

YStringWidgetID * dirListID = new YStringWidgetID( idDirList );
dirList->setId( dirListID );
@@ -197,11 +193,6 @@
// add the list of files
fileList = new NCFileTable( hSplit1, NCFileSelection::T_Overview, filter,
YCPString(startDir) );

- // FIXME - remove this - will be obsolete when NCTable is migrated
- fileList->setParent( hSplit1 );
- hSplit1->addChild( fileList );
- // remove this
-
YStringWidgetID * dirFileID = new YStringWidgetID( idFileList );
fileList->setId( dirFileID );


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages