aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:31:03 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:31:03 +0000
commitbdea6b0eba7ade49d3572d67dd8a664eabefc7a6 (patch)
tree2b0fbf98c91dd6b10e43d43115d08e54bbc79022
parent5b7d9fed87a695da1095b93b9f2eaa4405bcaf99 (diff)
downloadrpmdrake-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-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 85a762bd..bc8da406 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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);