diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:31:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:31:03 +0000 |
commit | bdea6b0eba7ade49d3572d67dd8a664eabefc7a6 (patch) | |
tree | 2b0fbf98c91dd6b10e43d43115d08e54bbc79022 | |
parent | 5b7d9fed87a695da1095b93b9f2eaa4405bcaf99 (diff) | |
download | rpmdrake-bdea6b0eba7ade49d3572d67dd8a664eabefc7a6.tar rpmdrake-bdea6b0eba7ade49d3572d67dd8a664eabefc7a6.tar.gz rpmdrake-bdea6b0eba7ade49d3572d67dd8a664eabefc7a6.tar.bz2 rpmdrake-bdea6b0eba7ade49d3572d67dd8a664eabefc7a6.tar.xz rpmdrake-bdea6b0eba7ade49d3572d67dd8a664eabefc7a6.zip |
set "is_pix" field in order to be later able to identify the column thanks
to the pointer position.
-rwxr-xr-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -985,6 +985,7 @@ or you already installed all of them.")); $detail_tree_model = Gtk2::TreeStore->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; $detail_tree->append_column(my $main_textcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0)); $detail_tree_model->set_sort_column_id(0, 'ascending'); $detail_tree->set_headers_visible(0); |