From 784a9155115058cbb494506681178d4af5f0d956 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 15 Mar 2017 07:51:11 +0100 Subject: do not make all action buttons the same size Thus fixing too big translations that make the partition window to be too big (mga#20360) This was a side effect of commit 947ab9bb0fb06611b5bd54465f98545ff175afb2 which itself partially reverted commit 8e187d972ed59909271d48915eef4af34e7fe068 --- perl-install/diskdrake/hd_gtk.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/diskdrake') diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index 6c7542862..601ed95b0 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -238,6 +238,8 @@ sub per_kind_action_box { gtksignal_connect(Gtk3::Button->new(translate($s)), clicked => sub { try($s, kind2hd($kind)) })); } + # make sure a big translations window to resize (as by default all buttons have the same size): + $box->set_child_non_homogeneous($_, Glib::TRUE), "\n" foreach $box->get_children; } sub per_entry_action_box { my ($box, $kind, $entry) = @_; -- cgit v1.2.1