diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-11-16 19:25:40 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-11-16 19:25:40 +0100 |
commit | 49875c40608d9801ae38d9cf572dfd103854bd16 (patch) | |
tree | c44da53cbe5355964b04baa522992375e58a8e3e /modules/rpmdragora | |
parent | 9ff2fa1372829fd4e3a159f66211d5a5e064862a (diff) | |
download | manatools-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-x | modules/rpmdragora/dragoraUpdate | 10 |
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(); |