aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-12-02 19:51:01 +0100
committerAngelo Naselli <anaselli@linux.it>2014-12-02 19:51:01 +0100
commit45f74a345d3539b679bf1ac681812137ad85fffe (patch)
tree3ee00085d56df7f228c66cdb9ed5331a04391eaf /lib/AdminPanel/Rpmdragora
parent697ac4014d834baa023daffc75a3f0d2ae871d92 (diff)
downloadcolin-keep-45f74a345d3539b679bf1ac681812137ad85fffe.tar
colin-keep-45f74a345d3539b679bf1ac681812137ad85fffe.tar.gz
colin-keep-45f74a345d3539b679bf1ac681812137ad85fffe.tar.bz2
colin-keep-45f74a345d3539b679bf1ac681812137ad85fffe.tar.xz
colin-keep-45f74a345d3539b679bf1ac681812137ad85fffe.zip
- Quit only if really wanted
- removed BP
Diffstat (limited to 'lib/AdminPanel/Rpmdragora')
-rw-r--r--lib/AdminPanel/Rpmdragora/gui.pm4
-rw-r--r--lib/AdminPanel/Rpmdragora/pkg.pm2
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/AdminPanel/Rpmdragora/gui.pm b/lib/AdminPanel/Rpmdragora/gui.pm
index f8fc396..92851ce 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 8025399..afa8832 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 });