diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:56:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:56:17 +0000 |
commit | 002b7e64a68bbb2f90474543051ac95aa8cf1f16 (patch) | |
tree | cb3a773923d43823729be08139aa5c75b52aceb8 | |
parent | 73dfb00d48a836b17d2e96909b13c3fd5f18105e (diff) | |
download | rpmdrake-002b7e64a68bbb2f90474543051ac95aa8cf1f16.tar rpmdrake-002b7e64a68bbb2f90474543051ac95aa8cf1f16.tar.gz rpmdrake-002b7e64a68bbb2f90474543051ac95aa8cf1f16.tar.bz2 rpmdrake-002b7e64a68bbb2f90474543051ac95aa8cf1f16.tar.xz rpmdrake-002b7e64a68bbb2f90474543051ac95aa8cf1f16.zip |
(run_treeview_dialog) package list really is a list, not a tree, so let's
create the former instead of the later
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1138,7 +1138,7 @@ or you already installed all of them.")); $tree->append_column(Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 1)); $tree->set_headers_visible(0); - $detail_tree_model = Gtk2::TreeStore->new("Glib::String", "Gtk2::Gdk::Pixbuf", "Glib::String"); + $detail_tree_model = Gtk2::ListStore->new("Glib::String", "Gtk2::Gdk::Pixbuf", "Glib::String"); $detail_tree = Gtk2::TreeView->new_with_model($detail_tree_model); $detail_tree->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererPixbuf->new, 'pixbuf' => 1)); $pixcolumn->{is_pix} = 1; |