aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMageiaUpdate6
-rw-r--r--Rpmdrake/gui.pm2
2 files changed, 4 insertions, 4 deletions
diff --git a/MageiaUpdate b/MageiaUpdate
index 8bde8afc..f111c31e 100755
--- a/MageiaUpdate
+++ b/MageiaUpdate
@@ -224,14 +224,14 @@ sub run_treeview_dialog {
# -1 because actual widget count differs from TreeModel one due to the hidden column:
foreach (@pkg_columns{qw(short_name version release arch)}) {
my $col = $list->get_column($_-1);
- ($col->get_cell_renderers)[0]->set_property('xpad', '6');
+ ($col->get_cells)[0]->set_property('xpad', '6');
$col->set_sizing('autosize');
$col->set_sort_column_id($_);
}
my $pretty_column = $list->get_column($pkg_columns{short_name}-1);
$pretty_column->set_resizable(1);
- ($pretty_column->get_cell_renderers)[0]->set_property('ellipsize', 'end');
+ ($pretty_column->get_cells)[0]->set_property('ellipsize', 'end');
$pretty_column->set_property('expand', '1');
$list->get_selection->signal_connect(changed => sub {
@@ -260,7 +260,7 @@ sub run_treeview_dialog {
refresh_packages_list($list, $info, $update_button);
- my $cell = ($bool_col->get_cell_renderers)[0];
+ my $cell = ($bool_col->get_cells)[0];
$cell->signal_connect(toggled => sub {
my ($_cell, $text_path) = @_;
my $name = $list->{data}[$text_path][$pkg_columns{text}];
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index d653daca..793b662e 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -585,7 +585,7 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
$model && $iter or return;
$common->{display_info}($model->get($iter, $pkg_columns{text}));
});
- ($w->{detail_list}->get_column(0)->get_cell_renderers)[0]->signal_connect(toggled => sub {
+ ($w->{detail_list}->get_column(0)->get_cells)[0]->signal_connect(toggled => sub {
my ($_cell, $path) = @_; #text_
my $iter = $w->{detail_list_model}->get_iter_from_string($path);
$fast_toggle->($iter) if $iter;