summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/mygtk3.pm2
-rw-r--r--perl-install/ugtk3.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 02f7c1251..ce6c81ffb 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -412,7 +412,7 @@ sub filesystems_button_box() {
my $w = gtknew('Button', text => translate($_), widget_name => 'PART_' . ($t || 'empty'),
tip => N("Filesystem types:"),
clicked => sub { try_('', \&createOrChangeType, $t, current_hd(), current_part()) });
- $w->can_focus(0);
+ $w->set_can_focus(0);
$w;
} @types);
}
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index 9f5b68d1a..173f0519b 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -113,7 +113,7 @@ sub _gtk {
$w->move($position->[0], $position->[1]);
}
$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->set_can_focus(delete $opts->{can_focus}) if exists $opts->{can_focus};
$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};
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index ac116a761..7e356c8e0 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -344,7 +344,7 @@ sub create_box_with_title {
$wtext->set_justification('fill');
$wtext->set_left_margin(12);
$wtext->set_right_margin(12);
- $wtext->can_focus($has_scroll);
+ $wtext->set_can_focus($has_scroll);
my $width = 400;
my $scroll = gtknew('ScrolledWindow', child => $wtext, width => $width, height => 200);
$scroll->signal_connect(realize => sub {