aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-03 09:32:01 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-03 09:32:01 +0000
commit59c6a52a7ba86a2ffcae95f2758e11d598bfa769 (patch)
tree7f6dc8294ee0494d72f9c6889579c1ecf80c57e7
parent84c9d98819fb9f4ffdbc4957d53b84001ee21a2c (diff)
downloadrpmdrake-59c6a52a7ba86a2ffcae95f2758e11d598bfa769.tar
rpmdrake-59c6a52a7ba86a2ffcae95f2758e11d598bfa769.tar.gz
rpmdrake-59c6a52a7ba86a2ffcae95f2758e11d598bfa769.tar.bz2
rpmdrake-59c6a52a7ba86a2ffcae95f2758e11d598bfa769.tar.xz
rpmdrake-59c6a52a7ba86a2ffcae95f2758e11d598bfa769.zip
(get_name) move it from MandrivaUpdate into Rpmdrake/gui.pm
-rwxr-xr-xMandrivaUpdate6
-rw-r--r--Rpmdrake/gui.pm2
2 files changed, 1 insertions, 7 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 56185bab..ce99526e 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -96,12 +96,6 @@ sub toggle {
$list->{data}[$data{$name}][0] = !$list->{data}[$data{$name}][0] if !$done;
}
-sub get_name {
- my ($name) = @_;
- ($name) = $name =~ m!<b>(.*)</b>!;
- return $name;
-}
-
$w = ugtk2->new(N("Software Management"));
$w->{rwindow}->show_all if $::isEmbedded;
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 9e8794a9..c57fd824 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -39,7 +39,7 @@ use Rpmdrake::pkg;
use Rpmdrake::icon;
use Gtk2::Gdk::Keysyms;
-our @EXPORT = qw(ask_browse_tree_given_widgets_for_rpmdrake build_tree callback_choices closure_removal compute_main_window_size do_action get_info is_locale_available node_state pkgs_provider reset_search set_node_state switch_pkg_list_mode toggle_all toggle_nodes
+our @EXPORT = qw(ask_browse_tree_given_widgets_for_rpmdrake build_tree callback_choices closure_removal compute_main_window_size do_action get_info get_name is_locale_available node_state pkgs_provider reset_search set_node_state switch_pkg_list_mode toggle_all toggle_nodes
$clear_button %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;