diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 22:35:33 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:53:13 +0100 |
commit | ec0513e059d437920ee55bc3838eb969ac42b7e1 (patch) | |
tree | 307203049c0cc685dc575f18f4ad4119bbe2ce5c /perl-install | |
parent | 2e76e64f6df89d576a3585b27fa7320908e4d6f4 (diff) | |
download | drakx-ec0513e059d437920ee55bc3838eb969ac42b7e1.tar drakx-ec0513e059d437920ee55bc3838eb969ac42b7e1.tar.gz drakx-ec0513e059d437920ee55bc3838eb969ac42b7e1.tar.bz2 drakx-ec0513e059d437920ee55bc3838eb969ac42b7e1.tar.xz drakx-ec0513e059d437920ee55bc3838eb969ac42b7e1.zip |
fix displaying ads by default
after commit 81bb64a79ef, this was no longer true
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/mygtk3.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 6db4651c9..421a9f419 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -185,9 +185,8 @@ sub _gtk_any_Button { $w->set_relief(delete $opts->{relief}) if exists $opts->{relief}; if (my $text_ref = delete $opts->{text_ref}) { - $$text_ref ||= ''; my $set = sub { - eval { $w->set_label(may_apply($w->{format}, $$text_ref)) }; + eval { $w->set_label(may_apply($w->{format}, $$text_ref || '')) }; }; gtkval_register($w, $text_ref, $set); $set->(); |