aboutsummaryrefslogtreecommitdiffstats
path: root/MageiaUpdate
diff options
context:
space:
mode:
Diffstat (limited to 'MageiaUpdate')
-rwxr-xr-xMageiaUpdate6
1 files changed, 3 insertions, 3 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}];