summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-08 14:30:44 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-08 14:30:44 +0000
commit0844db527e8bc9299e86f03c2a4e7a5c7964bce3 (patch)
treed4449922c520e52e7b5edd50e348efae4ea97fc0 /perl-install
parentb0608a450f1cb1921cbabe571d5c2cd697d2803f (diff)
downloaddrakx-0844db527e8bc9299e86f03c2a4e7a5c7964bce3.tar
drakx-0844db527e8bc9299e86f03c2a4e7a5c7964bce3.tar.gz
drakx-0844db527e8bc9299e86f03c2a4e7a5c7964bce3.tar.bz2
drakx-0844db527e8bc9299e86f03c2a4e7a5c7964bce3.tar.xz
drakx-0844db527e8bc9299e86f03c2a4e7a5c7964bce3.zip
(create_widget) add a "FIXME" note about Gtk-CRITICAL
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive/gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index d18daa183..1b19aa2b8 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -495,6 +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;
+ # FIXME: the following causes Gtk-CRITICAL but not solvable at realize time:
($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 {