summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-16 21:48:40 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-16 21:48:40 +0100
commit54dd9e586b59fdacb54bcd2f78d29870d00b1f3e (patch)
tree293b3ab7c22f5833ac149443ee26c11619893be2
parentfcb889cac4e8ef9dd7e6da0f98e4365a2dbf12e3 (diff)
downloaddrakx-54dd9e586b59fdacb54bcd2f78d29870d00b1f3e.tar
drakx-54dd9e586b59fdacb54bcd2f78d29870d00b1f3e.tar.gz
drakx-54dd9e586b59fdacb54bcd2f78d29870d00b1f3e.tar.bz2
drakx-54dd9e586b59fdacb54bcd2f78d29870d00b1f3e.tar.xz
drakx-54dd9e586b59fdacb54bcd2f78d29870d00b1f3e.zip
do not show labels on partition buttons (mga#11988)
should prevent window to move at install time
-rw-r--r--perl-install/diskdrake/hd_gtk.pm10
-rw-r--r--perl-install/install/NEWS3
2 files changed, 11 insertions, 2 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 62b58882d..e01f65b2b 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -352,8 +352,14 @@ sub create_buttons4partitions {
}
my $info = $entry->{mntpoint} || $entry->{device_LABEL} || '';
$info .= "\n" . ($entry->{size} ? formatXiB($entry->{size}, 512) : N("Unknown")) if $info;
- my $w = Gtk3::ToggleButton->new_with_label($info) or internal_error('new_with_label');
- $w->get_child->set_ellipsize('end');
+ my $w;
+ if ($::isInstall) {
+ $w = Gtk3::ToggleButton->new();
+ }else {
+ $w = Gtk3::ToggleButton->new_with_label($info);
+ $w->get_child->set_ellipsize('end');
+ }
+ $w or internal_error('new_with_label');
$w->set_tooltip_text($info);
$w->signal_connect(clicked => sub {
$current_button != $w or return;
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e5372f1d2..40b24a1c7 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- partitioning:
+ o do not show labels on partition buttons (mga#11988)
+
Version 16.22 - 15 January 2014
- partitioning: