diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-01 16:01:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-01 16:01:25 +0000 |
commit | 67d1dc672a5a8440c4471b47e724c571a3d0eca7 (patch) | |
tree | 259f83a0e81ee555552b1e417e48f68c852c4a83 /perl-install | |
parent | 4a1b8734460c8a675f5c3622ae6c03a02e9e140e (diff) | |
download | drakx-backup-do-not-use-67d1dc672a5a8440c4471b47e724c571a3d0eca7.tar drakx-backup-do-not-use-67d1dc672a5a8440c4471b47e724c571a3d0eca7.tar.gz drakx-backup-do-not-use-67d1dc672a5a8440c4471b47e724c571a3d0eca7.tar.bz2 drakx-backup-do-not-use-67d1dc672a5a8440c4471b47e724c571a3d0eca7.tar.xz drakx-backup-do-not-use-67d1dc672a5a8440c4471b47e724c571a3d0eca7.zip |
(create_widget) prevent big combo boxes to cause an horizontall
scrollbar to appear by using the "ellipsize" property
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/interactive/gtk.pm | 1 |
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; |