From 0844db527e8bc9299e86f03c2a4e7a5c7964bce3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 8 Sep 2008 14:30:44 +0000 Subject: (create_widget) add a "FIXME" note about Gtk-CRITICAL --- perl-install/interactive/gtk.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/interactive/gtk.pm') 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 { -- cgit v1.2.1