diff options
-rwxr-xr-x | rpmdrake | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -231,7 +231,12 @@ sub run_treeview_dialog { $detail_list_model = Gtk2::ListStore->new("Glib::String", "Gtk2::Gdk::Pixbuf", "Glib::String", "Glib::Boolean", "Glib::String", "Glib::String", "Glib::String", "Glib::String"); $detail_list = Gtk2::TreeView->new_with_model($detail_list_model); - $detail_list->append_column(my $col_sel = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererToggle->new, active => $pkg_columns{selected})); + $detail_list->append_column( + my $col_sel = Gtk2::TreeViewColumn->new_with_attributes( + undef, + Gtk2::CellRendererToggle->new, + active => $pkg_columns{selected} + )); $col_sel->set_fixed_width(34); # w/o this the toggle cells are not displayed $col_sel->set_sizing('fixed'); $col_sel->set_sort_column_id($pkg_columns{selected}); |