From d9563ea3ff8b2b8aa326dfad8220df139620772a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 17 Sep 2007 09:44:09 +0000 Subject: (create_treeview_list) use ellipsis in order to prevent horizontal scroll bar --- perl-install/NEWS | 2 ++ perl-install/install/NEWS | 2 ++ perl-install/interactive/gtk.pm | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index c0e164210..63ac149ef 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,6 +1,8 @@ - bootloader-config: o --rebuild-initrds: don't choke on kernel files which have no version in file name (#28772) +- drakboot: + o boot entrie list uses ellipsis rather than scroll bar Version 10.4.198 - 16 September 2007, by Thierry Vignaud diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 2255a8b28..28f060407 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,6 @@ - advertising: restore support for $title in .pl files (wrongly dropped in 10.4.195) +- boot loader config: + o boot entrie list uses ellipsis rather than scroll bar Version 10.4.199 - 17 September 2007, by Olivier "blino" Blin diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 2ba674a88..6044273d6 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -81,8 +81,9 @@ sub create_treeview_list { my $list_tv = Gtk2::TreeView->new_with_model($list); $list_tv->set_headers_visible(0); $list_tv->get_selection->set_mode('browse'); - my $textcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0); + my $textcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, my $renderer = Gtk2::CellRendererText->new, 'text' => 0); $list_tv->append_column($textcolumn); + $renderer->set_property('ellipsize', 'end'); my $select = sub { my ($path) = @_; -- cgit v1.2.1