aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-xmodules/rpmdragora/rpmdragora10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index bab4cd96..f11c2f73 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -59,6 +59,7 @@ my $wm_icon = "$wm_resource_path"."/title-$MODE.png";
# Declarations
my $my_win;
my $factory;
+my $mgaFactory;
my $optFactory;
our $w;
@@ -447,6 +448,9 @@ sub run_treeview_dialog {
N("Arch."),
text => $pkg_columns{arch},
}),
+ 'mark' => {
+ title => N("ToInst"),
+ }
);
foreach my $col (@columns{@columns}) {
#OLD $detail_list->append_column(
@@ -482,7 +486,9 @@ sub run_treeview_dialog {
#$pixcolumn->set_sort_column_id($pkg_columns{state});
$detail_list_header->addColumn(N("Status"));
- $detail_list = $factory->createTable($hbox_middle,$detail_list_header,1);
+ print $yui::YTableMode::YTableCheckBoxOnLastColumn;
+
+ $detail_list = $mgaFactory->createTable($hbox_middle,$detail_list_header,$yui::YTableMode::YTableCheckBoxOnLastColumn);
$detail_list->setWeight(0,50);
$detail_list->setNotify(1);
#OLD compute_main_window_size($w);
@@ -1116,6 +1122,8 @@ yui::YUI::app()->setApplicationTitle(N("Software Management"));
yui::YUI::app()->setApplicationIcon($wm_icon);
$factory = yui::YUI::widgetFactory;
+yui::YUILoader::loadExternalWidgets("mga");
+$mgaFactory = yui::YMGAWidgetFactory::getYMGAWidgetFactory(yui::YExternalWidgets::externalWidgetFactory());
$optFactory = yui::YUI::optionalWidgetFactory;
### MAIN DIALOG ###