diff options
-rw-r--r-- | lib/AdminPanel/Rpmdragora/formatting.pm | 4 | ||||
-rw-r--r-- | lib/AdminPanel/Rpmdragora/gui.pm | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/AdminPanel/Rpmdragora/formatting.pm b/lib/AdminPanel/Rpmdragora/formatting.pm index 7f81c298..f7305958 100644 --- a/lib/AdminPanel/Rpmdragora/formatting.pm +++ b/lib/AdminPanel/Rpmdragora/formatting.pm @@ -194,6 +194,8 @@ sub format_filesize { $filesize ? $loc->N("%s of packages will be retrieved.", formatXiB($filesize)) : (); } -sub format_list { join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) } +sub format_list { + return join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_); +} 1; diff --git a/lib/AdminPanel/Rpmdragora/gui.pm b/lib/AdminPanel/Rpmdragora/gui.pm index 7678bb25..25416ce3 100644 --- a/lib/AdminPanel/Rpmdragora/gui.pm +++ b/lib/AdminPanel/Rpmdragora/gui.pm @@ -1162,7 +1162,6 @@ sub deps_msg { my $pkg = $item->label(); setInfoOnWidget($pkg, $infoBox); } -# $infoBox->setValue( get_info($pkg) ); } elsif ($widget == $okButton) { $retval = 1; |