summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/install/NEWS1
2 files changed, 3 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) = @_;
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index a44d6b6ee..e8454e776 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- partitioning:
+ o fix too big window due to too big translations (mga#20360)
o allow a BIOS boot partition to be located on any disk (mga#20161)
o ensure kernel is informed when a MBR partition table is cleared
o clearing GPT partitions: