aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo.pasotti@gmail.com>2013-11-22 23:50:45 +0100
committerMatteo Pasotti <matteo.pasotti@gmail.com>2013-11-22 23:50:45 +0100
commit8e9d5372159a89089f4b3029eba9f1c1dd9b1355 (patch)
tree224263810bd9ab527a599f132c1e6d1aa4cb697a /modules
parent5da40e88c8abd7a5f02ed445853890c0782fe271 (diff)
downloadcolin-keep-8e9d5372159a89089f4b3029eba9f1c1dd9b1355.tar
colin-keep-8e9d5372159a89089f4b3029eba9f1c1dd9b1355.tar.gz
colin-keep-8e9d5372159a89089f4b3029eba9f1c1dd9b1355.tar.bz2
colin-keep-8e9d5372159a89089f4b3029eba9f1c1dd9b1355.tar.xz
colin-keep-8e9d5372159a89089f4b3029eba9f1c1dd9b1355.zip
moved from standard YTable to the improved YCBTable provided by the libyui-mga plugin
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/rpmdragora/rpmdragora10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index 2605966..5494f89 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -56,6 +56,7 @@ my $wm_icon = "/usr/share/mcc/themes/default/installremoverpm.png";
# Declarations
my $my_win;
my $factory;
+my $mgaFactory;
my $optFactory;
our $w;
@@ -445,6 +446,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(
@@ -480,7 +484,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);
@@ -1096,6 +1102,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 ###