aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-12-06 13:05:14 +0000
committerThierry Vignaud <tv@mandriva.org>2007-12-06 13:05:14 +0000
commit9f572698e547bc03a0f96e32d663c8e8ae820593 (patch)
tree854e10eb1128de6f0c5a99e4297d081a8d9e92f7
parentede97a7c4c2f6106c1e4fc2115eac301865f77cf (diff)
downloadrpmdrake-9f572698e547bc03a0f96e32d663c8e8ae820593.tar
rpmdrake-9f572698e547bc03a0f96e32d663c8e8ae820593.tar.gz
rpmdrake-9f572698e547bc03a0f96e32d663c8e8ae820593.tar.bz2
rpmdrake-9f572698e547bc03a0f96e32d663c8e8ae820593.tar.xz
rpmdrake-9f572698e547bc03a0f96e32d663c8e8ae820593.zip
(run_treeview_dialog) rename a variable to sg more meaningfull
-rwxr-xr-xrpmdrake8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmdrake b/rpmdrake
index 5df64d9d..f5553700 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -184,10 +184,10 @@ 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 $col1 = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererToggle->new, active => $pkg_columns{selected}));
- $col1->set_fixed_width(34); # w/o this the toggle cells are not displayed
- $col1->set_sizing('fixed');
- $col1->set_sort_column_id($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});
$detail_list->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, my $rdr = Gtk2::CellRendererPixbuf->new, 'pixbuf' => $pkg_columns{state_icon}));
$rdr->set_fixed_size(34, 24);