aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-01 15:50:20 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-01 15:50:20 +0000
commit558cd6bb9d0c2c513e5ab8682cba5e5f55c2561b (patch)
tree8a7ad7bbcd85bc1c4c6217cdd24302aac2f49deb
parent966ab4084b835d518392f604c3fb69987bd6dece (diff)
downloadrpmdrake-558cd6bb9d0c2c513e5ab8682cba5e5f55c2561b.tar
rpmdrake-558cd6bb9d0c2c513e5ab8682cba5e5f55c2561b.tar.gz
rpmdrake-558cd6bb9d0c2c513e5ab8682cba5e5f55c2561b.tar.bz2
rpmdrake-558cd6bb9d0c2c513e5ab8682cba5e5f55c2561b.tar.xz
rpmdrake-558cd6bb9d0c2c513e5ab8682cba5e5f55c2561b.zip
make %elems be visible for do_search() (needed for next commits)
-rwxr-xr-xrpmdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 928d3f5e..4807dba9 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -52,6 +52,7 @@ $ugtk2::wm_icon = "title-$MODE";
our $w;
our $statusbar;
+my %elems;
sub do_search($$$$$$$) {
my ($find_entry, $tree, $tree_model, $options, $current_search_type, $urpm, $pkgs) = @_;
@@ -204,7 +205,7 @@ sub do_search($$$$$$$) {
sub run_treeview_dialog {
my ($callback_action) = @_;
- my ($options, $tree, $tree_model, $detail_list, $detail_list_model, %elems);
+ my ($options, $tree, $tree_model, $detail_list, $detail_list_model);
(undef, $size_free) = MDK::Common::System::df('/usr');
$::main_window = $w->{real_window};