summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-03-15 07:51:11 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-03-17 02:13:59 +0100
commit784a9155115058cbb494506681178d4af5f0d956 (patch)
tree37609c3f86a30561d1dfbfbb6e69c62d95a266d9 /perl-install/diskdrake/hd_gtk.pm
parent8e5160b818c6d4f25ca7aa5d72db6d5754b92334 (diff)
downloaddrakx-784a9155115058cbb494506681178d4af5f0d956.tar
drakx-784a9155115058cbb494506681178d4af5f0d956.tar.gz
drakx-784a9155115058cbb494506681178d4af5f0d956.tar.bz2
drakx-784a9155115058cbb494506681178d4af5f0d956.tar.xz
drakx-784a9155115058cbb494506681178d4af5f0d956.zip
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
Diffstat (limited to 'perl-install/diskdrake/hd_gtk.pm')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 2 insertions, 0 deletions
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) = @_;