progressbar into treeview

Im trying to make a downloader and i want to have a treeview with the name of the file and the % downloaded. And when i add a progressbar into a treeview i just get a segmentation fault... :S What i'm doing wrong?
              my $pbar = new Gtk2::ProgressBar->new();
                my $pixbuf= Gtk2::Gdk::Pixbuf->new_from_file("../img/servers/".$servidor.'.gif');
                my $finestra_principal = $programa->get_widget('finestra_principal');
                push @{$llista_links->{data}}, [$pbar,$def_link,$combo->get_active_text,$pixbuf, $finestra_principal->render_icon('gtk-no','menu')]

Thanks ^^


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]