aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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
parent9ff2fa1372829fd4e3a159f66211d5a5e064862a (diff)
downloadcolin-keep-49875c40608d9801ae38d9cf572dfd103854bd16.tar
colin-keep-49875c40608d9801ae38d9cf572dfd103854bd16.tar.gz
colin-keep-49875c40608d9801ae38d9cf572dfd103854bd16.tar.bz2
colin-keep-49875c40608d9801ae38d9cf572dfd103854bd16.tar.xz
colin-keep-49875c40608d9801ae38d9cf572dfd103854bd16.zip
Select all into dragoraUpdate
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/rpmdragora/dragoraUpdate10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate
index f10e638..82ca2df 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();