diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-12-02 19:51:01 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-12-02 19:51:01 +0100 |
commit | 45f74a345d3539b679bf1ac681812137ad85fffe (patch) | |
tree | 3ee00085d56df7f228c66cdb9ed5331a04391eaf /lib/AdminPanel/Rpmdragora | |
parent | 697ac4014d834baa023daffc75a3f0d2ae871d92 (diff) | |
download | manatools-45f74a345d3539b679bf1ac681812137ad85fffe.tar manatools-45f74a345d3539b679bf1ac681812137ad85fffe.tar.gz manatools-45f74a345d3539b679bf1ac681812137ad85fffe.tar.bz2 manatools-45f74a345d3539b679bf1ac681812137ad85fffe.tar.xz manatools-45f74a345d3539b679bf1ac681812137ad85fffe.zip |
- Quit only if really wanted
- removed BP
Diffstat (limited to 'lib/AdminPanel/Rpmdragora')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/gui.pm | 4 | ||||
-rw-r--r-- | lib/AdminPanel/Rpmdragora/pkg.pm | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/AdminPanel/Rpmdragora/gui.pm b/lib/AdminPanel/Rpmdragora/gui.pm index f8fc3960..92851ce6 100644 --- a/lib/AdminPanel/Rpmdragora/gui.pm +++ b/lib/AdminPanel/Rpmdragora/gui.pm @@ -1001,7 +1001,6 @@ sub ask_browse_tree_given_widgets_for_rpmdragora { carp "TODO ==================> ADD NODES - add packages (" . scalar(@nodes) . ") \n"; yui::YUI::app()->busyCursor(); - $DB::single = 1; my $lastItem = $w->{detail_list}->selectedItem() ? $w->{detail_list}->selectedItem()->label() : ""; $w->{detail_list}->startMultipleChanges(); $w->{detail_list}->deleteAllItems(); @@ -1610,9 +1609,6 @@ sub _build_tree { # better loop on packages, create groups tree and push packages in the proper place: my @groups = (); foreach my $pkg (@pkg_name_and_group_list) { - -# $DB::single = 1; - my $grp = $pkg->[1]; # no state for groups (they're not packages and thus have no state) push @groups, $grp; diff --git a/lib/AdminPanel/Rpmdragora/pkg.pm b/lib/AdminPanel/Rpmdragora/pkg.pm index 80253996..afa88327 100644 --- a/lib/AdminPanel/Rpmdragora/pkg.pm +++ b/lib/AdminPanel/Rpmdragora/pkg.pm @@ -209,8 +209,6 @@ sub download_callback { my ($gurpm, $mode, $file, $percent, $total, $eta, $speed) = @_; $canceled = 0; -# $DB::single = 1; - if ($mode eq 'start') { $gurpm->label($loc->N("Downloading package `%s'...", urpm::util::basename($file))); $gurpm->validate_cancel(but($loc->N("Cancel")), sub { $canceled = 1 }); |