summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-08 14:28:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-08 14:28:51 +0000
commitb0608a450f1cb1921cbabe571d5c2cd697d2803f (patch)
tree46804cb8503321814eb550f1fe4a4757a5627965 /perl-install/interactive
parentdc04d56c82e4f0f1f8202691808bf7bbe9e30660 (diff)
downloaddrakx-b0608a450f1cb1921cbabe571d5c2cd697d2803f.tar
drakx-b0608a450f1cb1921cbabe571d5c2cd697d2803f.tar.gz
drakx-b0608a450f1cb1921cbabe571d5c2cd697d2803f.tar.bz2
drakx-b0608a450f1cb1921cbabe571d5c2cd697d2803f.tar.xz
drakx-b0608a450f1cb1921cbabe571d5c2cd697d2803f.zip
(Create,create_widget) fix file system type drop down list showing most types
as "..." in expert mode due to ellipsizing (#43611)
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 9a35a16ac..d18daa183 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -495,7 +495,7 @@ sub create_widget {
if (!$e->{separator}) {
if ($e->{not_edit} && $width < 160) { #- ComboBoxes do not have an horizontal scroll-bar. This can cause havoc for long strings (eg: diskdrake Create dialog box in expert mode)
$w = Gtk2::ComboBox->new_text;
- ($w->child->get_cell_renderers)[0]->set_property('ellipsize', 'end');
+ ($w->child->get_cell_renderers)[0]->set_property('ellipsize', 'end') if !$e->{do_not_ellipsize};
$w->set_wrap_width($e->{gtk}{wrap_width}) if exists $e->{gtk}{wrap_width};
} else {
$w = Gtk2::Combo->new;