Skip to content

Commit

Permalink
drop obsolete widgets Time and Date replaced by TimeField respective …
Browse files Browse the repository at this point in the history
…DateField
  • Loading branch information
jreidinger committed Oct 14, 2013
1 parent c4614fe commit 2fc2e2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions source/YCPDialogParser.cc
Expand Up @@ -314,7 +314,6 @@ YCPDialogParser::parseWidgetTreeTerm( YWidget * p,
// Special widgets - may or may not be supported by the specific UI.
// The YCP application should ask for presence of such a widget with Has???Widget() prior to creating one.

else if ( s == YUISpecialWidget_Date ) w = parseDateField ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_DateField ) w = parseDateField ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_DummySpecialWidget ) w = parseDummySpecialWidget ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_DownloadProgress ) w = parseDownloadProgress ( p, opt, term, ol, n );
Expand All @@ -326,7 +325,6 @@ YCPDialogParser::parseWidgetTreeTerm( YWidget * p,
else if ( s == YUISpecialWidget_PatternSelector ) w = parsePatternSelector ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_SimplePatchSelector ) w = parseSimplePatchSelector ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_Slider ) w = parseSlider ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_Time ) w = parseTimeField ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_TimeField ) w = parseTimeField ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_Wizard ) w = parseWizard ( p, opt, term, ol, n );
else if ( s == YUISpecialWidget_TimezoneSelector ) w = parseTimezoneSelector ( p, opt, term, ol, n );
Expand Down
2 changes: 0 additions & 2 deletions source/YCP_UI.cc
Expand Up @@ -108,9 +108,7 @@ YCPValue YCP_UI::HasSpecialWidget( const YCPSymbol & widget )
else if ( symbol == YUISpecialWidget_PartitionSplitter ) hasWidget = fact->hasPartitionSplitter();
else if ( symbol == YUISpecialWidget_SimplePatchSelector ) hasWidget = fact->hasSimplePatchSelector();
else if ( symbol == YUISpecialWidget_Wizard ) hasWidget = fact->hasWizard();
else if ( symbol == YUISpecialWidget_Date ) hasWidget = fact->hasDateField();
else if ( symbol == YUISpecialWidget_DateField) hasWidget = fact->hasDateField();
else if ( symbol == YUISpecialWidget_Time) hasWidget = fact->hasTimeField();
else if ( symbol == YUISpecialWidget_TimeField) hasWidget = fact->hasTimeField();
else if ( symbol == YUISpecialWidget_TimezoneSelector ) hasWidget = fact->hasTimezoneSelector();
else if ( symbol == YUISpecialWidget_Graph ) hasWidget = fact->hasGraph();
Expand Down

0 comments on commit 2fc2e2a

Please sign in to comment.