summaryrefslogtreecommitdiffstats
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
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"
-rw-r--r--perl-install/fs/partitioning_wizard.pm6
-rw-r--r--perl-install/install/NEWS1
2 files changed, 3 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);
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 82f0d68b6..6474730bc 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,6 @@
- fix a warning: include dialog-warning-symbolic
- fix left panel text being black instead of white (mga#11792)
+- fix calling "child1_shrink" via package "Gtk3::HPaned" (mga#11797)
Version 16.0 - 23 November 2013