summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-20 01:52:28 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-20 01:56:29 +0100
commit8e28b7b164be215dcdbebbb6dfdae689998f5874 (patch)
tree8144043010c3f5db6cfd33a5fa56512a5d0c1af4
parent9397164cdc835a5dc38809616f492ab763831541 (diff)
downloaddrakx-8e28b7b164be215dcdbebbb6dfdae689998f5874.tar
drakx-8e28b7b164be215dcdbebbb6dfdae689998f5874.tar.gz
drakx-8e28b7b164be215dcdbebbb6dfdae689998f5874.tar.bz2
drakx-8e28b7b164be215dcdbebbb6dfdae689998f5874.tar.xz
drakx-8e28b7b164be215dcdbebbb6dfdae689998f5874.zip
show labels on partition buttons
-rw-r--r--perl-install/diskdrake/hd_gtk.pm10
-rw-r--r--perl-install/install/NEWS1
2 files changed, 3 insertions, 8 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 0b36d229d..98738738f 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -356,14 +356,8 @@ sub create_buttons4partitions {
}
my $info = $entry->{mntpoint} || $entry->{device_LABEL} || '';
$info .= "\n" . ($entry->{size} ? formatXiB($entry->{size}, 512) : N("Unknown")) if $info;
- 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');
+ my $w = Gtk3::ToggleButton->new_with_label($info) or internal_error('new_with_label');
+ $w->get_child->set_ellipsize('end');
$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 b04a7f5ed..9412c459b 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -4,6 +4,7 @@
o fix sizing partition widgets
o fix not moving window (mga#11790, mga#11988, mga#11977)
o revert minimum partition width to its pre-gtk3 value
+ o show labels on partition buttons
Version 16.25 - 19 January 2014