aboutsummaryrefslogtreecommitdiffstats
path: root/MageiaUpdate
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 21:37:27 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 14:16:06 +0100
commit7a48e63e62e430ef87869da6bdda92fec1161be2 (patch)
treeb2f7d4afe7cb1d482f5fe3321e0deca7a3527d9d /MageiaUpdate
parent581d70ff9bbdb93dca53e1c46ddb10b2b1eaa945 (diff)
downloadrpmdrake-7a48e63e62e430ef87869da6bdda92fec1161be2.tar
rpmdrake-7a48e63e62e430ef87869da6bdda92fec1161be2.tar.gz
rpmdrake-7a48e63e62e430ef87869da6bdda92fec1161be2.tar.bz2
rpmdrake-7a48e63e62e430ef87869da6bdda92fec1161be2.tar.xz
rpmdrake-7a48e63e62e430ef87869da6bdda92fec1161be2.zip
Gtk3::TreeViewColumn implements the Gtk3::CellLayout interface, which provides the get_cells() method
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}];