summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-02-10 19:45:14 +0000
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:34 +0100
commit49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9 (patch)
treec3f2b15a60b48f865657edd1cb0a214c8b1a3bd1
parent7b90281fb2e73c5e70488b35312c2faa51f2d9ce (diff)
downloaddrakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar.gz
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar.bz2
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar.xz
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.zip
s/can_focus()/set_can_focus()/
-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 {