From 660fd9d474a025435c904914120b995ecb9a18f5 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Thu, 24 Jul 2014 15:31:24 +0200 Subject: removed unused code --- lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/AdminPanel/Rpmdragora') diff --git a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm index 63efed51..ea633c4a 100644 --- a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm +++ b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm @@ -1443,8 +1443,6 @@ sub mainwindow() { my $mageiaPlugin = "mga"; my $factory = yui::YUI::widgetFactory; - my $mgaFactory = yui::YExternalWidgets::externalWidgetFactory($mageiaPlugin); - $mgaFactory = yui::YMGAWidgetFactory::getYMGAWidgetFactory($mgaFactory); my $dialog = $factory->createMainDialog; my $vbox = $factory->createVBox( $dialog ); @@ -1524,9 +1522,6 @@ sub mainwindow() { $yTableHeader->addColumn(N("Medium"), $yui::YAlignBegin); ## mirror list - # NOTE let's use YTable and not YCBTable atm -# my $mirrorTbl = $mgaFactory->createCBTable($hbox, $yTableHeader, $yui::YCBTableCheckBoxOnFirstColumn); -# $mirrorTbl->setKeepSorting(1); my $multiselection = 1; my $mirrorTbl = $factory->createTable($hbox, $yTableHeader, $multiselection); $mirrorTbl->setKeepSorting(1); -- cgit v1.2.1