diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2012-08-01 18:26:54 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 21:28:33 +0100 |
commit | 64b9097f5cdb64ac0018bd4390b6da4b4246cb01 (patch) | |
tree | ca2541391c8df1f5461f01c80db8d57fa9911b49 | |
parent | abcb9996d91012d3454736cd6363f5db3e0e82c7 (diff) | |
download | drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar.gz drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar.bz2 drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar.xz drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.zip |
perlish can_default() is no more: use set_/get_can_default() instead
-rw-r--r-- | perl-install/mygtk3.pm | 2 | ||||
-rwxr-xr-x | perl-install/standalone/draksec | 2 | ||||
-rw-r--r-- | perl-install/ugtk3.pm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index e324513b4..59349c41e 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -114,7 +114,7 @@ sub _gtk { } $w->set_name(delete $opts->{widget_name}) if exists $opts->{widget_name}; $w->can_focus(delete $opts->{can_focus}) if exists $opts->{can_focus}; - $w->can_default(delete $opts->{can_default}) if exists $opts->{can_default}; + $w->set_can_default(delete $opts->{can_default}) if exists $opts->{can_default}; $w->grab_focus if delete $opts->{grab_focus}; $w->set_padding(@{delete $opts->{padding}}) if exists $opts->{padding}; $w->set_sensitive(delete $opts->{sensitive}) if exists $opts->{sensitive}; diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index 6a262bc2b..c65e69a76 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -249,7 +249,7 @@ gtkpack_($vbox, ), ); -$oc->{cancel}->can_default(1); +$oc->{cancel}->set_can_default(1); $oc->{cancel}->grab_default; $w->main; diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index d9c2b783c..a19356490 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -558,7 +558,7 @@ sub create_okcancel { gtknew('HButtonBox', spacing => 5, layout => $_->[1], children_loose => [ map { - $_->can_default($::isWizard); + $_->set_can_default($::isWizard); $_; } grep { $_ } @{$_->[0]} ]); |