summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-29 13:51:31 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-29 13:51:31 +0000
commit2d78714f44c2989d5304b26626f9e0bf4dfb582c (patch)
tree3e01e8a888e5e895997ca135c471ea6250466ea6 /perl-install/mygtk2.pm
parentfd01daaa38b679aedd1b7a03cdf27f21e73a4c72 (diff)
downloaddrakx-2d78714f44c2989d5304b26626f9e0bf4dfb582c.tar
drakx-2d78714f44c2989d5304b26626f9e0bf4dfb582c.tar.gz
drakx-2d78714f44c2989d5304b26626f9e0bf4dfb582c.tar.bz2
drakx-2d78714f44c2989d5304b26626f9e0bf4dfb582c.tar.xz
drakx-2d78714f44c2989d5304b26626f9e0bf4dfb582c.zip
(asteriskize_if_needed) factorize code for next commits
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 679027618..f49f8a5d0 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1203,6 +1203,10 @@ sub _allow_scroll_TextView_to_bottom {
};
}
+sub asteriskize_if_needed {
+ my ($label) = @_;
+ "\x{2022} " . $label;
+}
sub get_main_window_size() {
my ($width, $height) = $::real_windowwidth ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400);