diff options
-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) } |