summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-12 03:14:54 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:17 +0100
commit0279ef2e4ce50f3a9ba35b44eb6459503fb4cbd8 (patch)
treef9352c99fdae60512ccab167828fea84f6eb0336 /perl-install/standalone
parent10f8d025bf555201fd3051893c47aa1c0655790c (diff)
downloaddrakx-0279ef2e4ce50f3a9ba35b44eb6459503fb4cbd8.tar
drakx-0279ef2e4ce50f3a9ba35b44eb6459503fb4cbd8.tar.gz
drakx-0279ef2e4ce50f3a9ba35b44eb6459503fb4cbd8.tar.bz2
drakx-0279ef2e4ce50f3a9ba35b44eb6459503fb4cbd8.tar.xz
drakx-0279ef2e4ce50f3a9ba35b44eb6459503fb4cbd8.zip
no need to implement our own cell renderer
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/harddrake28
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index feb07929d..59889dd37 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -255,7 +255,13 @@ $text->set_wrap_mode('word');
$frame->set_size_request(300, 450) unless $::isEmbedded;
# $tree->set_column_auto_resize(0, 1);
my (@data, @configurators);
-$tree->append_column(my $textcolumn = Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::MDV::CellRendererPixWithLabel->new, 'pixbuf' => 0, label => 1));
+$tree->append_column(my $textcolumn = Gtk3::TreeViewColumn->new);
+$textcolumn->pack_start(my $img_renderer = Gtk3::CellRendererPixbuf->new, 0);
+$textcolumn->set_attributes($img_renderer, pixbuf => 0);
+
+$textcolumn->pack_start(my $text_renderer = Gtk3::CellRendererText->new, 1);
+$textcolumn->set_attributes($text_renderer, text => 1);
+
$tree->set_headers_visible(0);
sub fill_default_text {