summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/interactive/gtk.pm1
3 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 01a79b0c8..880810de5 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -2,6 +2,8 @@
o make all windows are "dialog", so that gurpmi.addmedia during install
displays nicely
o fix alignment of check buttons
+ o prevent big combo boxes to cause an horizontall scrollbar to appear by
+ using the "ellipsize" property
o no relief on 'advanced' buttons
Version 11.29 - 29 August 2008
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index acf79ab44..d63050593 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -4,6 +4,8 @@
and install updates. This replaces the previous "Install Updates" step.
- fix alignment of check buttons
- further improvements to the "bootloader", "partitionning" steps
+- prevent big combo boxes to cause an horizontall scrollbar to appear by
+ using the "ellipsize" property
- remove "Generate auto install floppy" & "Save packages selection"
options at end of installation
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 0cff3dda7..85e503d4b 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -492,6 +492,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->set_wrap_width($e->{gtk}{wrap_width}) if exists $e->{gtk}{wrap_width};
} else {
$w = Gtk2::Combo->new;