summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-29 14:20:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-29 14:20:30 +0000
commitc007ced395ea2591da1fdefc5c3d9fa11089d81e (patch)
tree45bf4fc97f6d77d0752caab71829d032c769264d
parentabf1761c85f69face0195bf1d4b2c20d52e4be89 (diff)
downloaddrakx-c007ced395ea2591da1fdefc5c3d9fa11089d81e.tar
drakx-c007ced395ea2591da1fdefc5c3d9fa11089d81e.tar.gz
drakx-c007ced395ea2591da1fdefc5c3d9fa11089d81e.tar.bz2
drakx-c007ced395ea2591da1fdefc5c3d9fa11089d81e.tar.xz
drakx-c007ced395ea2591da1fdefc5c3d9fa11089d81e.zip
(asteriskize_if_needed) rename as asteriskize() to better match it behaviour
-rw-r--r--perl-install/interactive/gtk.pm2
-rw-r--r--perl-install/mygtk2.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 1898726ca..c34630081 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -711,7 +711,7 @@ sub create_widgets {
# add asterisks before titles when there're more than one:
my @all_titles = all_title_entries($l);
if (2 <= @all_titles) {
- ${$_->{val}} = mygtk2::asteriskize_if_needed(${$_->{val}}) foreach @all_titles;
+ ${$_->{val}} = mygtk2::asteriskize(${$_->{val}}) foreach @all_titles;
}
my $box = create_widgets_block($o, $l, $update, \$ignore);
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index f49f8a5d0..4dd5655ad 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1203,7 +1203,7 @@ sub _allow_scroll_TextView_to_bottom {
};
}
-sub asteriskize_if_needed {
+sub asteriskize {
my ($label) = @_;
"\x{2022} " . $label;
}