diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-13 02:32:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-13 02:32:55 +0000 |
commit | c0370939cd4ee05317fceeecf6f2e9521c7b7749 (patch) | |
tree | e28f2427544e462df4007183c7d85565702377df /perl-install | |
parent | 5a3b2322b99d25b1c1161c48857d96af924d1472 (diff) | |
download | drakx-backup-do-not-use-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar drakx-backup-do-not-use-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar.gz drakx-backup-do-not-use-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar.bz2 drakx-backup-do-not-use-c0370939cd4ee05317fceeecf6f2e9521c7b7749.tar.xz drakx-backup-do-not-use-c0370939cd4ee05317fceeecf6f2e9521c7b7749.zip |
(set_help_tip) only use on tooltip group
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/draksec | 5 |
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; |