summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/partitioning_wizard.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 09:32:56 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 12:52:39 +0100
commit4d4666ef4068f7f7e9bf8fd7b376c407dddbe1b5 (patch)
tree90bcfe36886635297fc3439ec4ded7e9cd58f923 /perl-install/fs/partitioning_wizard.pm
parent1285c7382105cba7e4567c3a4c890cec2708b4a2 (diff)
downloaddrakx-4d4666ef4068f7f7e9bf8fd7b376c407dddbe1b5.tar
drakx-4d4666ef4068f7f7e9bf8fd7b376c407dddbe1b5.tar.gz
drakx-4d4666ef4068f7f7e9bf8fd7b376c407dddbe1b5.tar.bz2
drakx-4d4666ef4068f7f7e9bf8fd7b376c407dddbe1b5.tar.xz
drakx-4d4666ef4068f7f7e9bf8fd7b376c407dddbe1b5.zip
fix calling "child1_shrink" via package "Gtk3::HPaned" (mga#11797)
fix can't locate object method "child1_shrink" via package "Gtk3::HPaned"
Diffstat (limited to 'perl-install/fs/partitioning_wizard.pm')
-rw-r--r--perl-install/fs/partitioning_wizard.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index fdb61cf7c..b8d68a382 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -332,10 +332,8 @@ sub create_display_box {
$ratio * MB(600), 0));
my $hpane = Gtk3::HPaned->new;
- $hpane->add1($part_widget);
- $hpane->child1_shrink(0);
- $hpane->add2($mdv_widget);
- $hpane->child2_shrink(0);
+ $hpane->pack1($part_widget, 1, 0);
+ $hpane->pack2($mdv_widget, 1, 0);
$hpane->set_position(ceil($ratio * $entry->{req_size}));
ugtk3::gtkset_size_request($hpane, $entry->{width}, 0);
ugtk3::gtkpack__($display_box, $hpane);