diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 01:32:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 01:32:34 +0000 |
commit | 07f6f8299078fa22cdeffa4c0dc04d63ad001f2e (patch) | |
tree | 9e8d0e0908f706223975126dc067013518f79c79 | |
parent | 200b7bcbde61736628a5e4dd6a201138e0025e84 (diff) | |
download | rpmdrake-07f6f8299078fa22cdeffa4c0dc04d63ad001f2e.tar rpmdrake-07f6f8299078fa22cdeffa4c0dc04d63ad001f2e.tar.gz rpmdrake-07f6f8299078fa22cdeffa4c0dc04d63ad001f2e.tar.bz2 rpmdrake-07f6f8299078fa22cdeffa4c0dc04d63ad001f2e.tar.xz rpmdrake-07f6f8299078fa22cdeffa4c0dc04d63ad001f2e.zip |
move a variable
-rw-r--r-- | Rpmdrake/gui.pm | 4 | ||||
-rw-r--r-- | rpmdrake.pm | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index debd54d9..60bd2f7a 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -43,9 +43,7 @@ use feature 'state'; our @EXPORT = qw(ask_browse_tree_given_widgets_for_rpmdrake build_tree callback_choices compute_main_window_size do_action get_info get_summary is_locale_available node_state pkgs_provider reset_search set_node_state switch_pkg_list_mode toggle_all toggle_nodes sort_callback - %grp_columns %pkg_columns $dont_show_selections @filtered_pkgs $find_entry $force_displaying_group $force_rebuild @initial_selection $pkgs $size_free $size_selected $urpm); - -our $dont_show_selections = $> ? 1 : 0; + %grp_columns %pkg_columns @filtered_pkgs $find_entry $force_displaying_group $force_rebuild @initial_selection $pkgs $size_free $size_selected $urpm); our ($descriptions, @filtered_pkgs, %filter_methods, $force_displaying_group, $force_rebuild, @initial_selection, $pkgs, $size_free, $size_selected, $urpm); diff --git a/rpmdrake.pm b/rpmdrake.pm index 2519f18d..57c7fa74 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -46,6 +46,7 @@ our @ISA = qw(Exporter); our $VERSION = '2.27'; our @EXPORT = qw( $changelog_first_config + $dont_show_selections $mandrakeupdate_wanted_categories $already_splashed $max_info_in_descr @@ -85,6 +86,8 @@ our @EXPORT = qw( ); our $typical_width = 280; +our $dont_show_selections = $> ? 1 : 0; + # i18n: IMPORTANT: to get correct namespace (rpmdrake instead of libDrakX) BEGIN { unshift @::textdomains, qw(rpmdrake urpmi rpm-summary-main rpm-summary-contrib rpm-summary-devel) } |