aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-20 09:38:52 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-20 09:38:52 +0000
commit31cc61c2752a8b05f433aa08fc829d40248be27a (patch)
tree3ea1731c9615a9fad0e8f27580346bb9af53e1f7
parent2b08f56a73097cfdbf05edfd9868e839a562471d (diff)
downloadrpmdrake-31cc61c2752a8b05f433aa08fc829d40248be27a.tar
rpmdrake-31cc61c2752a8b05f433aa08fc829d40248be27a.tar.gz
rpmdrake-31cc61c2752a8b05f433aa08fc829d40248be27a.tar.bz2
rpmdrake-31cc61c2752a8b05f433aa08fc829d40248be27a.tar.xz
rpmdrake-31cc61c2752a8b05f433aa08fc829d40248be27a.zip
(run_treeview_dialog) adjust somewhat the margins around the checkboxes
-rwxr-xr-xrpmdrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index 55fdf82b..443ae09a 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -190,12 +190,12 @@ sub run_treeview_dialog {
$detail_list_model = Gtk2::ListStore->new("Glib::String", "Gtk2::Gdk::Pixbuf", "Glib::String", "Glib::Boolean");
$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(20); # w/o this the toggle cells are not displayed
+ $col1->set_fixed_width(34); # w/o this the toggle cells are not displayed
$col1->set_sizing('fixed');
$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(42, 24);
- $pixcolumn->set_fixed_width(48); # w/o this the pixbuf cells is empty
+ $rdr->set_fixed_size(34, 24);
+ $pixcolumn->set_fixed_width(34); # w/o this the pixbuf cells is empty
$pixcolumn->set_sizing('fixed');
$detail_list->append_column(my $col = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => $pkg_columns{text}));
$col->set_sizing('fixed');