summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-13 02:32:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-13 02:32:55 +0000
commitc0370939cd4ee05317fceeecf6f2e9521c7b7749 (patch)
treee28f2427544e462df4007183c7d85565702377df /perl-install
parent5a3b2322b99d25b1c1161c48857d96af924d1472 (diff)
downloaddrakx-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar
drakx-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar.gz
drakx-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar.bz2
drakx-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar.xz
drakx-c0370939cd4ee05317fceeecf6f2e9521c7b7749.zip
(set_help_tip) only use on tooltip group
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/draksec5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 5014008cd..6bba9d1b6 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -137,10 +137,13 @@ sub new_nonedit_combo {
Gtk2::ComboBox->new_with_strings([ to_i18n(@$string_list) ], to_i18n($o_default_value));
}
+my $tip;
+
sub set_help_tip {
my ($entry, $default, $opt) = @_;
my $help = $security::help::help{$opt};
- gtkset_tip(Gtk2::Tooltips->new, $entry, formatAlaTeX($help) . "\n" . N("(default value: %s)", to_i18n($default)));
+ my $tips ||= Gtk2::Tooltips->new;
+ gtkset_tip($tips, $entry, formatAlaTeX($help) . "\n" . N("(default value: %s)", to_i18n($default)));
}
my $msec = new security::msec;