aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-11-16 19:25:40 +0100
committerAngelo Naselli <anaselli@linux.it>2014-11-16 19:25:40 +0100
commit49875c40608d9801ae38d9cf572dfd103854bd16 (patch)
treec44da53cbe5355964b04baa522992375e58a8e3e /modules/rpmdragora
parent9ff2fa1372829fd4e3a159f66211d5a5e064862a (diff)
downloadmanatools-49875c40608d9801ae38d9cf572dfd103854bd16.tar
manatools-49875c40608d9801ae38d9cf572dfd103854bd16.tar.gz
manatools-49875c40608d9801ae38d9cf572dfd103854bd16.tar.bz2
manatools-49875c40608d9801ae38d9cf572dfd103854bd16.tar.xz
manatools-49875c40608d9801ae38d9cf572dfd103854bd16.zip
Select all into dragoraUpdate
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-xmodules/rpmdragora/dragoraUpdate10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate
index f10e6385..82ca2df9 100755
--- a/modules/rpmdragora/dragoraUpdate
+++ b/modules/rpmdragora/dragoraUpdate
@@ -329,7 +329,15 @@ sub run_treeview_dialog {
}
elsif ($widget == $selectButton) {
yui::YUI::app()->busyCursor();
- $initialized = 0;
+ my @list;
+ foreach my $key (sort(keys %data)) {
+ push @list, $data{$key}{fullname};
+ }
+ toggle_all({
+ widgets => {detail_list => $packageTbl},
+ table_item_list => \@list,
+ set_state_callback => sub {1},
+ });
_refresh_packages_list($dialog, $packageTbl);
yui::YUI::app()->normalCursor();