[yast-commit] r41154 - /branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc
Author: gs Date: Thu Sep 27 17:41:47 2007 New Revision: 41154 URL: http://svn.opensuse.org/viewcvs/yast?rev=41154&view=rev Log: temporaily set parent for FileTable Modified: branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc 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=41154&r1=41153&r2=41154&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc Thu Sep 27 17:41:47 2007 @@ -186,7 +186,7 @@ opt.keyEvents.setValue( true ); dirList = new NCDirectoryTable( hSplit1, opt, NCFileSelection::T_Overview, YCPString(startDir) ); - // FIXME - remove this - will be obsolete when NCTable is migrated + // FIXME - remove this - will be obsolete when NCTable is migrated dirList->setParent( hSplit1 ); hSplit1->addChild( dirList ); // remove this @@ -196,8 +196,15 @@ // add the list of files fileList = new NCFileTable( hSplit1, opt, 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 ); + opt.notifyMode.setValue( false ); opt.keyEvents.setValue( false ); @@ -219,7 +226,7 @@ // label for text field showing the filter (e.g. *.bak) NCComboBox * extension = new NCComboBox( hSplit2, _( "Filter:" ), edit ); // editable as set in edit - + extension->setStretchable( YD_HORIZ, true ); extension->addItem( filter, true ); // selected -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org