diff options
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 4 | ||||
-rw-r--r-- | perl-install/install/NEWS | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index da6d34f19..69a369ae0 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: + o workaround too wide togglebuttons with empty label with gtk+3 and/or Adwaita + Version 16.56 - 10 February 2015 - service_harddrake: diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index 63d52ecb2..a2a791cf7 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -354,8 +354,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 = Gtk3::ToggleButton->new_with_label($info) or internal_error('new_with_label'); - $w->get_child->set_ellipsize('end'); + my $w = ($info ? Gtk3::ToggleButton->new_with_label($info) : Gtk3::ToggleButton->new) or internal_error('new_with_label'); + $info and $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 c12ea40f6..a46b12e3e 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- partitioning: + o workaround too wide togglebuttons with empty label with gtk+3 and/or Adwaita + Version 16.61 - 18 February 2015 - ensure we install radeon-firmware too if needed (mga#15203) |